diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-23 17:07:55 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-20 15:17:55 +1000 |
commit | 04ed0bcb2530866f7248b412974ecd15f0fbf6ac (patch) | |
tree | 745df97d96a3a89267214b8f494f7772a656da57 /xkb | |
parent | 3f37923a727d5fc4b1880a53dac1145884ba7140 (diff) |
xkb: remove Device/Enter leave handling - XI2 enter/leave don't have compat state.
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/xkbEvents.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 9293c60be..d7a186bd7 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -1037,10 +1037,6 @@ XkbSrvInfoPtr xkbi; new|= xkbi->state.compat_lookup_mods; else new|= xkbi->state.compat_grab_mods; kbp->state= new; - } else if ((type==DeviceEnterNotify)||(type==DeviceLeaveNotify)) { - deviceEnterNotify *del = (deviceEnterNotify*)&xE[i]; - del->state&=0x1F00; - del->state|= xkbi->state.compat_grab_mods; } button_mask = 1 << xE[i].u.u.detail; if (type == ButtonPress && |