mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
XQuartz: Don't use NX_SECONDARYFNMASK, NX_NUMERICPADMASK, NX_HELPMASK
We don't have keycodes for them, so don't try to use them (cherry picked from commit cb912aca3a2834c4ad8e386c8a0d05c1bb31b0e7)
This commit is contained in:
parent
a2abaa9fd3
commit
2f361186f9
2 changed files with 8 additions and 10 deletions
|
|
@ -977,13 +977,6 @@ static inline int ensure_flag(int flags, int device_independent, int device_depe
|
|||
|
||||
modifierFlags = [e modifierFlags];
|
||||
|
||||
/* These are the "only" modifier keys we care about */
|
||||
modifierFlags &= (NX_COMMANDMASK | NX_CONTROLMASK | NX_ALTERNATEMASK | NX_SHIFTMASK |
|
||||
NX_SECONDARYFNMASK | NX_ALPHASHIFTMASK | NX_NUMERICPADMASK |
|
||||
NX_HELPMASK | NX_DEVICELCTLKEYMASK | NX_DEVICELSHIFTKEYMASK |
|
||||
NX_DEVICERSHIFTKEYMASK | NX_DEVICELCMDKEYMASK | NX_DEVICERCMDKEYMASK |
|
||||
NX_DEVICELALTKEYMASK | NX_DEVICERALTKEYMASK | NX_DEVICERCTLKEYMASK);
|
||||
|
||||
#ifdef NX_DEVICELCMDKEYMASK
|
||||
/* This is to workaround a bug in the VNC server where we sometimes see the L
|
||||
* modifier and sometimes see no "side"
|
||||
|
|
|
|||
Loading…
Reference in a new issue