summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/stacking.c')
-rw-r--r--openbox/stacking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c
index 2c80ada0..0c7e38fd 100644
--- a/openbox/stacking.c
+++ b/openbox/stacking.c
@@ -169,7 +169,7 @@ static void restack_windows(ObClient *selected, gboolean raise)
GList *modals = NULL;
GList *trans = NULL;
- if (!raise && selected->transient_for) {
+ if (!raise && selected->parents) {
GSList *top, *top_it;
GSList *top_reorder = NULL;
@@ -371,7 +371,7 @@ static GList *find_highest_relative(ObClient *client)
{
GList *ret = NULL;
- if (client->transient_for) {
+ if (client->parents) {
GList *it;
GSList *top;