diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 16:12:35 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-25 17:10:40 +1000 |
commit | 3992afdd5593f391bcff1eb39d7e975886d817e3 (patch) | |
tree | 6dff583b0237ded40e274df8b4ccc5c2628e9c4b /src/XExtInt.c | |
parent | 62858c426e6de1b99df660251737233afd335302 (diff) |
Remove DeviceEnter/LeaveNotify handling.
This will be replaced by XI2 GenericEvents.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/XExtInt.c')
-rw-r--r-- | src/XExtInt.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index 572cfcd..6014657 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -764,34 +764,6 @@ XInputWireToEvent( return ENQUEUE_EVENT; } break; - case XI_DeviceEnterNotify: - case XI_DeviceLeaveNotify: - { - XDeviceCrossingEvent *ev = (XDeviceCrossingEvent*)re; - deviceEnterNotify *ev2 = (deviceEnterNotify*) event; - *ev = *(XDeviceCrossingEvent*)save; - ev->root = ev2->root; - ev->window = ev2->event; - ev->subwindow = ev2->child; - ev->time = ev2->time; - ev->x_root = ev2->rootX; - ev->y_root = ev2->rootY; - ev->x = ev2->eventX; - ev->y = ev2->eventY; - ev->state = ev2->state; - /* mode has same_screen and focus stuffed in the upper 4 bits */ - ev->mode = ev2->mode & 0xF; - ev->deviceid = ev2->deviceid & DEVICE_BITS; - ev->detail = ev2->detail; - if ((ev2->mode >> 4) & ELFlagSameScreen) { - ev->same_screen = True; - } - if ((ev2->mode >> 4) & ELFlagFocus) { - ev->focus = True; - } - return (ENQUEUE_EVENT); - } - break; default: printf("XInputWireToEvent: UNKNOWN WIRE EVENT! type=%d\n", type); break; |