projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83d987d
)
when an omnipresent window has focus and you switch desktops, keep it focused
author
Dana Jansens
<danakj@orodu.net>
Thu, 15 Mar 2007 01:02:48 +0000
(
01:02
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 15 Mar 2007 01:02:48 +0000
(
01:02
+0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
07ac963
..
5a4f9f0
100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-233,6
+233,11
@@
ObClient* focus_fallback_target(gboolean allow_refocus, ObClient *old)
}
#endif
+ ob_debug("trying omnipresentness\n");
+ if (old && old->desktop == DESKTOP_ALL)
+ return old;
+
+
ob_debug("trying the focus order\n");
for (it = focus_order; it; it = g_list_next(it))
if (allow_refocus || it->data != old) {