X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=9cfc1850250455c33f928d52224196d888f06792;hb=8772b46b56172e35506f21d626aa89bd649615c6;hp=5f1991d39b10bd4b6665119ee5624cb01072ee88;hpb=9a7c4de2eb73826da9b4415541735f8d7c161c23;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 5f1991d3..9cfc1850 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -587,7 +587,7 @@ void screen_set_desktop(guint num, gboolean dofocus) do this before hiding the windows so if helper windows are coming with us, they don't get hidden */ - if (dofocus && (c = focus_fallback(TRUE, !config_focus_last))) + if (dofocus && (c = focus_fallback(TRUE, !config_focus_last, FALSE))) { /* only do the flicker reducing stuff ahead of time if we are going to call xsetinputfocus on the window ourselves. otherwise there is @@ -1050,7 +1050,7 @@ void screen_show_desktop(gboolean show, ObClient *show_only) else if (!show_only) { ObClient *c; - if ((c = focus_fallback(TRUE, FALSE))) { + if ((c = focus_fallback(TRUE, FALSE, TRUE))) { /* 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.. */