diff options
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/exevents.c | 2 | ||||
-rw-r--r-- | Xi/exglobals.h | 2 | ||||
-rw-r--r-- | Xi/extinit.c | 14 |
3 files changed, 0 insertions, 18 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index b5413f94e..4aa5fbf66 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -146,8 +146,6 @@ XIGetDevice(xEvent* xE) if (xE->u.u.type == DeviceButtonPress || xE->u.u.type == DeviceButtonRelease || xE->u.u.type == DeviceMotionNotify || - xE->u.u.type == DeviceEnterNotify || - xE->u.u.type == DeviceLeaveNotify || xE->u.u.type == ProximityIn || xE->u.u.type == ProximityOut || xE->u.u.type == DevicePropertyNotify) diff --git a/Xi/exglobals.h b/Xi/exglobals.h index 182807318..2d2d25c0b 100644 --- a/Xi/exglobals.h +++ b/Xi/exglobals.h @@ -75,8 +75,6 @@ extern int DeviceMappingNotify; extern int ChangeDeviceNotify; extern int DevicePresenceNotify; extern int DevicePropertyNotify; -extern int DeviceEnterNotify; -extern int DeviceLeaveNotify; extern int RT_INPUTCLIENT; diff --git a/Xi/extinit.c b/Xi/extinit.c index 23e41ca13..bedd75014 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -331,8 +331,6 @@ int DeviceMappingNotify; int ChangeDeviceNotify; int DevicePresenceNotify; int DevicePropertyNotify; -int DeviceEnterNotify; -int DeviceLeaveNotify; int RT_INPUTCLIENT; @@ -893,8 +891,6 @@ FixExtensionEvents(ExtensionEntry * extEntry) DeviceButtonStateNotify = DeviceKeyStateNotify + 1; DevicePresenceNotify = DeviceButtonStateNotify + 1; DevicePropertyNotify = DevicePresenceNotify + 1; - DeviceEnterNotify = DevicePropertyNotify + 1; - DeviceLeaveNotify = DeviceEnterNotify + 1; event_base[KeyClass] = DeviceKeyPress; event_base[ButtonClass] = DeviceButtonPress; @@ -950,12 +946,6 @@ FixExtensionEvents(ExtensionEntry * extEntry) SetEventInfo(DevicePresenceNotifyMask, _devicePresence); SetMaskForExtEvent(DevicePropertyNotifyMask, DevicePropertyNotify); - SetMaskForExtEvent(DeviceEnterWindowMask, DeviceEnterNotify); - AllowPropagateSuppress(DeviceEnterWindowMask); - - SetMaskForExtEvent(DeviceLeaveWindowMask, DeviceLeaveNotify); - AllowPropagateSuppress(DeviceLeaveWindowMask); - SetEventInfo(0, _noExtensionEvent); } @@ -1001,8 +991,6 @@ RestoreExtensionEvents(void) DeviceButtonStateNotify = 13; DevicePresenceNotify = 14; DevicePropertyNotify = 15; - DeviceEnterNotify = 16; - DeviceLeaveNotify = 17; BadDevice = 0; BadEvent = 1; @@ -1042,8 +1030,6 @@ IResetProc(ExtensionEntry * unused) EventSwapVector[ChangeDeviceNotify] = NotImplemented; EventSwapVector[DevicePresenceNotify] = NotImplemented; EventSwapVector[DevicePropertyNotify] = NotImplemented; - EventSwapVector[DeviceEnterNotify] = NotImplemented; - EventSwapVector[DeviceLeaveNotify] = NotImplemented; RestoreExtensionEvents(); } |