only refocus the omnipresent window if its allowed
This commit is contained in:
parent
34f5bbe4f6
commit
6772ec19fc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue