From 95eb36bfa9b664b9d50c9dfdb49db4aa0a3fb913 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 23 May 2013 11:44:23 +0000 Subject: [PATCH] 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 --- unix/xserver/hw/vnc/InputXKB.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5