]> Dogcows Code - chaz/openbox/commitdiff
try draw the decorations sooner
authorDana Jansens <danakj@orodu.net>
Tue, 15 May 2007 03:47:56 +0000 (03:47 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 15 May 2007 03:47:56 +0000 (03:47 +0000)
openbox/screen.c

index eff8674bfba13e4056f12b3e93c6d132cb38a46f..452462979c663e868e5b85981908fc344b17c48f 100644 (file)
@@ -190,7 +190,6 @@ gboolean screen_annex()
         return FALSE;
     }
 
-
     screen_set_root_cursor();
 
     /* set the OPENBOX_PID hint */
@@ -506,12 +505,12 @@ void screen_set_desktop(guint num, gboolean dofocus)
            to call xsetinputfocus on the window ourselves. otherwise there is
            no guarantee the window will actually take focus.. */
         if (c->can_focus) {
-            /* do this here so that if you switch desktops to a window with
-               helper windows then the helper windows won't flash */
-            client_bring_helper_windows(c);
             /* reduce flicker by hiliting now rather than waiting for the
                server FocusIn event */
             frame_adjust_focus(c->frame, TRUE);
+            /* do this here so that if you switch desktops to a window with
+               helper windows then the helper windows won't flash */
+            client_bring_helper_windows(c);
         }
     }
 
This page took 0.028932 seconds and 4 git commands to generate.