diff --git a/windows/x11drv/keyboard.c b/windows/x11drv/keyboard.c index 1f2622883a7..9b7a01d3cb9 100644 --- a/windows/x11drv/keyboard.c +++ b/windows/x11drv/keyboard.c @@ -746,7 +746,9 @@ void X11DRV_KEYBOARD_HandleEvent( XKeyEvent *event, int x, int y ) ascii_chars = TSXLookupString(event, Str, sizeof(Str), &keysym, NULL); /* Ignore some unwanted events */ - if (keysym == XK_ISO_Prev_Group || keysym == XK_ISO_Next_Group) + if (keysym == XK_ISO_Prev_Group || + keysym == XK_ISO_Next_Group || + keysym == XK_Mode_switch) { TRACE("Ignoring %s keyboard event\n", TSXKeysymToString(keysym)); return;