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:
822cfc2
)
stacking raises things only in the same layer
author
Dana Jansens
<danakj@orodu.net>
Tue, 22 Dec 2009 16:36:08 +0000
(11:36 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 22 Dec 2009 16:44:53 +0000
(11:44 -0500)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index a75c170f649e72bf62c07456e603742e976e1229..94af9846947c655ee28be16198662f77fab6cdff 100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-62,7
+62,8
@@
static void push_to_top(ObClient *client)
/* if it is modal for a single window, then put that window at the top
of the focus order first, so it will be right after ours. the same is
done with stacking */
- if (client->modal && (p = client_direct_parent(client)))
+ if (client->modal && (p = client_direct_parent(client)) &&
+ p->layer == client->layer)
push_to_top(p);
focus_order = g_list_remove(focus_order, client);