projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
only refocus the omnipresent window if its allowed
[mikachu/openbox.git]
/
openbox
/
focus.c
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
817640f
..
f06a077
100644
(file)
--- 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;