diff options
Diffstat (limited to 'lib/libX11/src/xkb/XKBMisc.c')
-rw-r--r-- | lib/libX11/src/xkb/XKBMisc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libX11/src/xkb/XKBMisc.c b/lib/libX11/src/xkb/XKBMisc.c index 587d8f9a0..4aa1f733a 100644 --- a/lib/libX11/src/xkb/XKBMisc.c +++ b/lib/libX11/src/xkb/XKBMisc.c @@ -33,8 +33,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #ifndef XKB_IN_SERVER #include <stdio.h> -#define NEED_REPLIES -#define NEED_EVENTS #include "Xlibint.h" #include <X11/extensions/XKBproto.h> #include <X11/keysym.h> @@ -44,8 +42,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <stdio.h> #include <X11/X.h> -#define NEED_EVENTS -#define NEED_REPLIES #include <X11/Xproto.h> #include "misc.h" #include "inputstr.h" @@ -623,7 +619,7 @@ KeySym * syms; XkbApplyCompatMapToKey(xkb,key,changes); } - if ((xkb->server->vmods!=NULL)&&(xkb->map->modmap!=NULL)&&(changes)&& + if ((xkb->map->modmap!=NULL)&&(changes)&& (changes->map.changed&(XkbVirtualModMapMask|XkbModifierMapMask))) { unsigned char newVMods[XkbNumVirtualMods]; register unsigned bit,i; |