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 eff8674..4524629 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);
         }
     }