]> Dogcows Code - chaz/openbox/commitdiff
when client removes its transient_for hint, don't keep the window as transient for...
authorDana Jansens <danakj@orodu.net>
Sat, 17 Apr 2010 00:35:04 +0000 (20:35 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 17 Apr 2010 01:32:38 +0000 (21:32 -0400)
openbox/event.c

index d63ae2b33777dbad01c165ce923fc77bd3c29245..3126ef92a9ef2d9e338f5640c2703834e69c763d 100644 (file)
@@ -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) {
-            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_update_transient_for(client);
             /* type may have changed, so update the layer */
             client_calc_layer(client);
             client_setup_decor_and_functions(client, TRUE);
This page took 0.029814 seconds and 4 git commands to generate.