try draw the decorations sooner

This commit is contained in:
Dana Jansens 2007-05-15 03:47:56 +00:00
parent 9c5e87069e
commit f5597c060e

View file

@ -190,7 +190,6 @@ gboolean screen_annex()
return FALSE; return FALSE;
} }
screen_set_root_cursor(); screen_set_root_cursor();
/* set the OPENBOX_PID hint */ /* 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 to call xsetinputfocus on the window ourselves. otherwise there is
no guarantee the window will actually take focus.. */ no guarantee the window will actually take focus.. */
if (c->can_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 /* reduce flicker by hiliting now rather than waiting for the
server FocusIn event */ server FocusIn event */
frame_adjust_focus(c->frame, TRUE); 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);
} }
} }