From: Dana Jansens Date: Fri, 28 Mar 2003 00:16:36 +0000 (+0000) Subject: dont rm focus when i actually found something to fall back to with the pointer X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b23c66afd15be9976a80f184df0d044919c56582;p=chaz%2Fopenbox dont rm focus when i actually found something to fall back to with the pointer --- 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); }