diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-07 03:21:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-07 03:21:18 +0000 |
| commit | 571b09f999585c66e9781877c94807f663c2bd4c (patch) | |
| tree | 0fec7a7de2797710ffd6f43dd6296605f8b9ce92 /openbox/stacking.c | |
| parent | 9943a713e974473f52d951103efd9b6bda6dd753 (diff) | |
nice code cleanup that's been needed for a long time. add parents list to client, which you can iterate instead of going thru the group.
Diffstat (limited to 'openbox/stacking.c')
| -rw-r--r-- | openbox/stacking.c | 4 |
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; |
