Focus behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following is fixing the input focus handling in case of wine running
with control by WM diabled.

diff -ur wine/dlls/x11drv/window.c wine-new/dlls/x11drv/window.c
--- wine/dlls/x11drv/window.c	Mon Jan 21 19:41:27 2002
+++ wine-new/dlls/x11drv/window.c	Mon Feb  4 17:22:56 2002
@@ -339,7 +339,7 @@
     /* wm protocols */
     i = 0;
     protocols[i++] = wmDeleteWindow;
-    if (wmTakeFocus) protocols[i++] = wmTakeFocus;
+/*    if (wmTakeFocus) protocols[i++] = wmTakeFocus; */
     XSetWMProtocols( display, data->whole_window, protocols, i );
 
     /* class hints */
@@ -408,7 +408,8 @@
         wm_hints->flags = InputHint | StateHint | WindowGroupHint;
         /* use globally active model if take focus is supported,
          * passive model otherwise (cf. ICCCM) */
-        wm_hints->input = !wmTakeFocus;
+/*        wm_hints->input = !wmTakeFocus; */
+	wm_hints->input = True;
 
         set_icon_hints( display, win, wm_hints );
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux