winex11: Allow setting focus on active window, if no focus window.
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index 64d1992..0e8d60c 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -483,6 +483,7 @@
 
     GetGUIThreadInfo(0, &threadinfo);
     focus = threadinfo.hwndFocus;
+    if (!focus) focus = threadinfo.hwndActive;
     if (focus) focus = GetAncestor( focus, GA_ROOT );
     win = X11DRV_get_whole_window(focus);