summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2013-05-23 11:44:23 +0000
committerPierre Ossman <ossman@cendio.se>2013-05-23 11:44:23 +0000
commit95eb36bfa9b664b9d50c9dfdb49db4aa0a3fb913 (patch)
treeb3f88fefd6aee4f2a0ae2fcb5f651be3b6bb89d6
parent6eb3607f55706c79bce43224d439a5066f008226 (diff)
downloadtigervnc-95eb36bfa9b664b9d50c9dfdb49db4aa0a3fb913.tar.gz
tigervnc-95eb36bfa9b664b9d50c9dfdb49db4aa0a3fb913.zip
The cause of the keyboard mapping change is not a X11 request,
so don't pretend like it is. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5107 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--unix/xserver/hw/vnc/InputXKB.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/InputXKB.cc b/unix/xserver/hw/vnc/InputXKB.cc
index 04e377c7..eadae269 100644
--- a/unix/xserver/hw/vnc/InputXKB.cc
+++ b/unix/xserver/hw/vnc/InputXKB.cc
@@ -499,7 +499,7 @@ KeyCode InputDevice::addKeysym(KeySym keysym, unsigned state)
memset(&changes, 0, sizeof(changes));
memset(&cause, 0, sizeof(cause));
- XkbSetCauseCoreReq(&cause, X_ChangeKeyboardMapping, NULL);
+ XkbSetCauseUnknown(&cause);
/* FIXME: Verify that ONE_LEVEL isn't screwed up */