From 46145a9312eaf5dcd0e8b6788ed8219e086f790e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 13 Mar 2009 15:12:55 +1000 Subject: [PATCH] dix: remove coreMods field from GrabRec. Nobody uses it anyway, and it's taking up a whole bit! --- dix/grabs.c | 2 -- include/inputstr.h | 1 - 2 files changed, 3 deletions(-) diff --git a/dix/grabs.c b/dix/grabs.c index 156574efe..2d3327c42 100644 --- a/dix/grabs.c +++ b/dix/grabs.c @@ -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; diff --git a/include/inputstr.h b/include/inputstr.h index 59fb29bf0..14941b106 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -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;