diff --git a/src/backends/x11/meta-virtual-input-device-x11.c b/src/backends/x11/meta-virtual-input-device-x11.c index 9ae6554cd..fe6040859 100644 --- a/src/backends/x11/meta-virtual-input-device-x11.c +++ b/src/backends/x11/meta-virtual-input-device-x11.c @@ -159,7 +159,7 @@ meta_virtual_input_device_x11_notify_key (ClutterVirtualInputDevice *virtual_dev ClutterKeyState key_state) { XTestFakeKeyEvent (clutter_x11_get_default_display (), - key, key_state == CLUTTER_KEY_STATE_PRESSED, 0); + key + 8, key_state == CLUTTER_KEY_STATE_PRESSED, 0); } static void