feat(xbacklight): Change value on scroll

- Add action handlers for scroll up/down (conf: enable-sroll = true)
- Use xcb_timestamps instead of the throttle util
This commit is contained in:
Michael Carlberg
2016-11-12 09:40:14 +01:00
parent 2740e69a38
commit f2bbd301f2
8 changed files with 184 additions and 70 deletions

View File

@ -61,7 +61,7 @@ void eventloop::run(chrono::duration<double, std::milli> timeframe, int limit) {
evt = next;
break;
} else if (compare_events(evt, next)) {
m_log.trace("eventloop: Swallowing event within timeframe");
m_log.trace_x("eventloop: Swallowing event within timeframe");
evt = next;
} else {
break;