[mutter] ui: Fix the check for the XInput opcode
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] ui: Fix the check for the XInput opcode
- Date: Tue, 8 Jul 2014 17:00:52 +0000 (UTC)
commit 909a46087f81c9c4451542aba13cc549cd700a8d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jul 8 12:58:17 2014 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 1acb70c..2c2166b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]