fix focus flicker on sendto+follow
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
openbox/screen.c
→
openbox/screen.c
@@ -579,6 +579,11 @@ maybe not depending on mouse-focus options) */
allow_omni = focus_client && (client_normal(focus_client) && focus_client->desktop == DESKTOP_ALL); + /* the client moved there already so don't move focus. prevent flicker + on sendtodesktop + follow */ + if (focus_client && focus_client->desktop == screen_desktop) + dofocus = FALSE; + /* have to try focus here because when you leave an empty desktop there is no focus out to watch for. also, we have different rules here. we always allow it to look under the mouse pointer if