summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-12 16:53:29 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-13 15:06:46 +1000
commit26f701704b4e536cd91bd8a9f7d2194793471998 (patch)
tree3bce32a875c2ac465f771a25704dbe285ad3fc67 /dix/events.c
parent8ff62ea5ba1bc331c886840b2b1e101cb4f2ebed (diff)
dix: remove duplicate line in EnterLeaveEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'dix/events.c')
-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;