From 6772ec19fc5b3c4116c2b8d0aa8a6f0950d24d01 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 15 Mar 2007 01:11:52 +0000 Subject: [PATCH] only refocus the omnipresent window if its allowed --- openbox/focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/focus.c b/openbox/focus.c index 817640ff..f06a077e 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -234,7 +234,7 @@ ObClient* focus_fallback_target(gboolean allow_refocus, ObClient *old) #endif ob_debug("trying omnipresentness\n"); - if (old && old->desktop == DESKTOP_ALL) + if (allow_refocus && old && old->desktop == DESKTOP_ALL) return old; -- 2.45.2