summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-15 03:47:56 +0000
committerDana Jansens <danakj@orodu.net>2007-05-15 03:47:56 +0000
commitf5597c060e0fda3b8fffc19c9b8974dde463a962 (patch)
treeb88445ed3f970444d4e12819d6c2e361061ed139 /openbox/screen.c
parent9c5e87069ef306828226bd7e162c7de0dc65df80 (diff)
try draw the decorations sooner
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index eff8674b..45246297 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -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);
}
}