summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/xwin/winkeybd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winkeybd.c b/hw/xwin/winkeybd.c
index ad9e66a0b..66e601dbd 100644
--- a/hw/xwin/winkeybd.c
+++ b/hw/xwin/winkeybd.c
@@ -190,7 +190,7 @@ winKeybdProc (DeviceIntPtr pDeviceInt, int iState)
// immediately copy the state of this keyboard device to the VCK
// (which otherwise happens lazily after the first keypress)
- CopyKeyClass(pDeviceInt, inputInfo.keyboard);
+ SwitchCoreKeyboard(pDeviceInt);
break;
case DEVICE_CLOSE: