X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Ffocus.c;h=127a3399e740b62466e536baf03387a6d6776e94;hb=b23c66afd15be9976a80f184df0d044919c56582;hp=a462915740c4e60df713021e5c2f38603eb43fe1;hpb=eee483bb472b0d3e95dd2470aa49656653dd13d6;p=chaz%2Fopenbox diff --git a/openbox/focus.c b/openbox/focus.c index a4629157..127a3399 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -134,8 +134,7 @@ void focus_fallback(gboolean switching_desks) if (client_focus(it->data)) break; } + if (it == NULL) /* nothing to focus */ + focus_set_client(NULL); } - - if (it == NULL) /* nothing to focus */ - focus_set_client(NULL); }