The KeymapNotify event does not use the window member, so don't warn

about it being unknown.
This commit is contained in:
Mike Hearn 2004-03-19 01:17:32 +00:00 committed by Alexandre Julliard
parent 3f09feda6e
commit 99afa3a4a2
1 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,8 @@ static void EVENT_ProcessEvent( XEvent *event )
wine_tsx11_unlock();
if (!hWnd && event->xany.window == root_window) hWnd = GetDesktopWindow();
if (!hWnd && event->type != PropertyNotify && event->type != MappingNotify)
if (!hWnd && event->type != PropertyNotify &&
event->type != MappingNotify && event->type != KeymapNotify)
WARN( "Got event %s for unknown Window %08lx\n",
event_names[event->type], event->xany.window );
else if (event->type <= MappingNotify)