dix: remove coreMods field from GrabRec.
Nobody uses it anyway, and it's taking up a whole bit!
This commit is contained in:
parent
40e2a61e37
commit
46145a9312
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user