when client removes its transient_for hint, don't keep the window as transient for the group when it shouldn't be (fixes bug #4586)
This commit is contained in:
parent
77ee361f5c
commit
550e961c0e
1 changed files with 4 additions and 1 deletions
|
@ -1622,8 +1622,11 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
||||||
} else if (msgtype == XA_WM_HINTS) {
|
} else if (msgtype == XA_WM_HINTS) {
|
||||||
client_update_wmhints(client);
|
client_update_wmhints(client);
|
||||||
} else if (msgtype == XA_WM_TRANSIENT_FOR) {
|
} 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 */
|
/* type may have changed, so update the layer */
|
||||||
client_calc_layer(client);
|
client_calc_layer(client);
|
||||||
client_setup_decor_and_functions(client, TRUE);
|
client_setup_decor_and_functions(client, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue