diff options
author | Pierre Ossman <pierre@ossman.eu> | 2009-04-28 12:29:07 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-05-08 12:40:12 -0700 |
commit | 3b1ff33587458bad45777b8eb74b81c3e55987ad (patch) | |
tree | d330fc250cabde166bd1ced15977d361b38398f9 | |
parent | 4b702526dec35f5cfe5c6baec6a77c02c95c2867 (diff) |
Xi: don't send XKB mapping notifications when XKB is disabled
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | Xi/exevents.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index 482041fd7..398a26b20 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -1778,7 +1778,8 @@ SendDeviceMappingNotify(ClientPtr client, CARD8 request, } #ifdef XKB - if (request == MappingKeyboard || request == MappingModifier) + if (!noXkbExtension && (request == MappingKeyboard || + request == MappingModifier)) XkbApplyMappingChange(dev, request, firstKeyCode, count, client); #endif |