From 909a46087f81c9c4451542aba13cc549cd700a8d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 8 Jul 2014 12:58:17 -0400 Subject: [PATCH] ui: Fix the check for the XInput opcode When converting is_input_event to be the opposite, I forgot to make this change. --- src/ui/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ui.c b/src/ui/ui.c index 1acb70c44..2c2166bfc 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -81,7 +81,7 @@ is_interesting_input_event (XEvent *event) XIEvent *input_event; if (event->type != GenericEvent || - event->xcookie.extension == display->xinput_opcode) + event->xcookie.extension != display->xinput_opcode) return FALSE; input_event = (XIEvent *) event->xcookie.data;