X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=93ec57f53eb406971e950e7559d0fa74b1cf3bc2;hb=0cfd92ab9e56d8f790c92b83436e981fa46efe20;hp=7e04d4dcef0a2bd61425b10d3dbbf7c2d49d43d5;hpb=ac59dd4fe53330d717a12f55f6bfc17467ad2ae2;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 7e04d4dc..93ec57f5 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -560,7 +560,9 @@ static void screen_fallback_focus() do this before hiding the windows so if helper windows are coming with us, they don't get hidden */ - if ((c = focus_fallback(TRUE, !config_focus_last, allow_omni))) { + if ((c = focus_fallback(TRUE, !config_focus_last, allow_omni, + !allow_omni))) + { /* 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.. */ @@ -1137,7 +1139,7 @@ void screen_show_desktop(gboolean show, ObClient *show_only) else if (!show_only) { ObClient *c; - if ((c = focus_fallback(TRUE, FALSE, TRUE))) { + if ((c = focus_fallback(TRUE, FALSE, TRUE, FALSE))) { /* 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.. */