diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 16:02:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-03 14:42:40 +1000 |
commit | 3e38a82102975670d490d95f595a410f38f4e221 (patch) | |
tree | 4fc2ba87ab769d5046ee0d6fc34cf921a0098fe9 | |
parent | c56b75732f4506bae234a5cda474c837bb274d6b (diff) |
Disable generic event handling for now to allow bisecting.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/XExtInt.c | 3 | ||||
-rw-r--r-- | src/XExtToWire.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index 94df1de..bbc8a9b 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -767,6 +767,7 @@ XInputWireToEvent( } } else /* if type == GenericEvent */ { +#if 0 xGenericEvent* ge = (xGenericEvent*)event; if (ge->extension == info->codes->major_opcode) { @@ -824,7 +825,7 @@ XInputWireToEvent( } } - +#endif } return (DONT_ENQUEUE); } diff --git a/src/XExtToWire.c b/src/XExtToWire.c index 6bfef28..fb8f68b 100644 --- a/src/XExtToWire.c +++ b/src/XExtToWire.c @@ -459,6 +459,7 @@ _XiEventToWire( } /* switch */ } else /* if type != GenericEvent */ { +#if 0 switch (((XGenericEvent*)re)->evtype) { case XI_DeviceHierarchyChangedNotify: @@ -479,7 +480,7 @@ _XiEventToWire( default: return (_XUnknownNativeEvent(dpy, re, *event)); } - +#endif } return (1); } |