summaryrefslogtreecommitdiff
path: root/Xi/extinit.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-18 15:13:00 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-20 15:17:57 +1000
commitdc153271b6458cacd63a4bc0208594011c6460b0 (patch)
tree3b744eac31f1e8fa34be81cc4b681d258815b47a /Xi/extinit.c
parent15a969c0fcd4f19f3c560a7037c1a6a58bce51f0 (diff)
Xi: purge old device enter/leave masks.
Diffstat (limited to 'Xi/extinit.c')
-rw-r--r--Xi/extinit.c14
1 files changed, 0 insertions, 14 deletions
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();
}