mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 04:09:24 +00:00
dix: remove coreMods field from GrabRec.
Nobody uses it anyway, and it's taking up a whole bit!
This commit is contained in:
@@ -97,8 +97,6 @@ CreateGrab(
|
||||
grab->modifiersDetail.exact = modifiers;
|
||||
grab->modifiersDetail.pMask = NULL;
|
||||
grab->modifierDevice = modDevice;
|
||||
grab->coreMods = ((modDevice == inputInfo.keyboard) ||
|
||||
(modDevice == inputInfo.pointer));
|
||||
grab->type = type;
|
||||
grab->detail.exact = keybut;
|
||||
grab->detail.pMask = NULL;
|
||||
|
||||
@@ -172,7 +172,6 @@ typedef struct _GrabRec {
|
||||
unsigned keyboardMode:1;
|
||||
unsigned pointerMode:1;
|
||||
unsigned coreGrab:1; /* grab is on core device */
|
||||
unsigned coreMods:1; /* modifiers are on core keyboard */
|
||||
CARD8 type; /* event type */
|
||||
DetailRec modifiersDetail;
|
||||
DeviceIntPtr modifierDevice;
|
||||
|
||||
Reference in New Issue
Block a user