try draw the decorations sooner
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
4 deletions(-)
jump to
M
openbox/screen.c
→
openbox/screen.c
@@ -190,7 +190,6 @@ XDestroyWindow(ob_display, screen_support_win);
return FALSE; } - screen_set_root_cursor(); /* set the OPENBOX_PID hint */@@ -506,12 +505,12 @@ /* only do the flicker reducing stuff ahead of time if we are going
to call xsetinputfocus on the window ourselves. otherwise there is no guarantee the window will actually take focus.. */ if (c->can_focus) { + /* 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); - /* reduce flicker by hiliting now rather than waiting for the - server FocusIn event */ - frame_adjust_focus(c->frame, TRUE); } }