Add XK_Mode_switch to the list of ignored keysyms.

This commit is contained in:
Dmitry Timoshkov 2001-10-05 19:37:19 +00:00 committed by Alexandre Julliard
parent cebf8b659d
commit 2c7cc63179
1 changed files with 3 additions and 1 deletions

View File

@ -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;