summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dix/events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/events.c b/dix/events.c
index 05f99478e..33936bddc 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -4325,8 +4325,6 @@ EnterLeaveEvent(
devEnterLeave = (deviceEnterNotify*)&event;
devEnterLeave->type = (type == EnterNotify) ? DeviceEnterNotify :
DeviceLeaveNotify;
- devEnterLeave->type = (type == EnterNotify) ? DeviceEnterNotify :
- DeviceLeaveNotify;
devEnterLeave->mode |= (event.u.enterLeave.flags << 4);
devEnterLeave->deviceid = mouse->id;
mskidx = mouse->id;