ui: Fix the check for the XInput opcode

When converting is_input_event to be the opposite, I forgot to make this
change.
This commit is contained in:
Jasper St. Pierre 2014-07-08 12:58:17 -04:00
parent c10c8649f5
commit 909a46087f

View File

@ -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;