dix: remove duplicate line in EnterLeaveEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
parent
8ff62ea5ba
commit
26f701704b
|
@ -4323,8 +4323,6 @@ EnterLeaveEvent(
|
||||||
/* we don't have enough bytes, so we squash flags and mode into
|
/* we don't have enough bytes, so we squash flags and mode into
|
||||||
one byte, and use the last byte for the deviceid. */
|
one byte, and use the last byte for the deviceid. */
|
||||||
devEnterLeave = (deviceEnterNotify*)&event;
|
devEnterLeave = (deviceEnterNotify*)&event;
|
||||||
devEnterLeave->type = (type == EnterNotify) ? DeviceEnterNotify :
|
|
||||||
DeviceLeaveNotify;
|
|
||||||
devEnterLeave->type = (type == EnterNotify) ? DeviceEnterNotify :
|
devEnterLeave->type = (type == EnterNotify) ? DeviceEnterNotify :
|
||||||
DeviceLeaveNotify;
|
DeviceLeaveNotify;
|
||||||
devEnterLeave->mode |= (event.u.enterLeave.flags << 4);
|
devEnterLeave->mode |= (event.u.enterLeave.flags << 4);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user