xkb: remove Device/Enter leave handling - XI2 enter/leave don't have compat state.
This commit is contained in:
parent
3f37923a72
commit
04ed0bcb25
|
@ -1037,10 +1037,6 @@ XkbSrvInfoPtr xkbi;
|
||||||
new|= xkbi->state.compat_lookup_mods;
|
new|= xkbi->state.compat_lookup_mods;
|
||||||
else new|= xkbi->state.compat_grab_mods;
|
else new|= xkbi->state.compat_grab_mods;
|
||||||
kbp->state= new;
|
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;
|
button_mask = 1 << xE[i].u.u.detail;
|
||||||
if (type == ButtonPress &&
|
if (type == ButtonPress &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user