Commit 99afa3a4 authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard

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

about it being unknown.
parent 3f09feda
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment