Merge pull request #1821 from acrisci/feature/dont-log-motion-notify
Don't log motion notify
This commit is contained in:
commit
cf199143d9
|
@ -1319,7 +1319,9 @@ static void property_notify(uint8_t state, xcb_window_t window, xcb_atom_t atom)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void handle_event(int type, xcb_generic_event_t *event) {
|
void handle_event(int type, xcb_generic_event_t *event) {
|
||||||
|
if (type != XCB_MOTION_NOTIFY)
|
||||||
DLOG("event type %d, xkb_base %d\n", type, xkb_base);
|
DLOG("event type %d, xkb_base %d\n", type, xkb_base);
|
||||||
|
|
||||||
if (randr_base > -1 &&
|
if (randr_base > -1 &&
|
||||||
type == randr_base + XCB_RANDR_SCREEN_CHANGE_NOTIFY) {
|
type == randr_base + XCB_RANDR_SCREEN_CHANGE_NOTIFY) {
|
||||||
handle_screen_change(event);
|
handle_screen_change(event);
|
||||||
|
|
Loading…
Reference in New Issue