]> Dogcows Code - chaz/openbox/blobdiff - openbox/stacking.c
get rid of client->transient_for. just client->parents and client->transient_for_grou...
[chaz/openbox] / openbox / stacking.c
index 0c7e38fd7140e5da68f5bf657d39e57a627b725e..4b01f45dbde00c159fc17cb7e7e7d40c5972b91e 100644 (file)
@@ -233,7 +233,7 @@ static void restack_windows(ObClient *selected, gboolean raise)
     wins = g_list_append(wins, selected);
 
     /* if selected window is transient for group then raise it above others */
-    if (selected->transient_for == OB_TRAN_GROUP) {
+    if (selected->transient_for_group) {
         /* if it's modal, raise it above those also */
         if (selected->modal) {
             wins = g_list_concat(wins, group_modals);
This page took 0.021906 seconds and 4 git commands to generate.