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:
77ee361
)
when client removes its transient_for hint, don't keep the window as transient for...
author
Dana Jansens
<danakj@orodu.net>
Sat, 17 Apr 2010 00:35:04 +0000
(20:35 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 17 Apr 2010 01:32:38 +0000
(21:32 -0400)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
d63ae2b
..
3126ef9
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1622,8
+1622,11
@@
static void event_handle_client(ObClient *client, XEvent *e)
} else if (msgtype == XA_WM_HINTS) {
client_update_wmhints(client);
} else if (msgtype == XA_WM_TRANSIENT_FOR) {
} else if (msgtype == XA_WM_HINTS) {
client_update_wmhints(client);
} else if (msgtype == XA_WM_TRANSIENT_FOR) {
- client_update_transient_for(client);
+ /* get the transient-ness first, as this affects if the client
+ decides to be transient for the group or not in
+ client_update_transient_for() */
client_get_type_and_transientness(client);
client_get_type_and_transientness(client);
+ client_update_transient_for(client);
/* type may have changed, so update the layer */
client_calc_layer(client);
client_setup_decor_and_functions(client, TRUE);
/* type may have changed, so update the layer */
client_calc_layer(client);
client_setup_decor_and_functions(client, TRUE);