diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-07 18:59:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-07 18:59:30 +0000 |
| commit | a797a18fcd356fd3071051f328b6bf829081b511 (patch) | |
| tree | 08c1588c67f520c9c75ec4775a19ce6b5dba3da1 /openbox/stacking.c | |
| parent | 4b84ef021ff9a0a0957f7a1fc9001ef429a77208 (diff) | |
let you lower siblings below eachother
Diffstat (limited to 'openbox/stacking.c')
| -rw-r--r-- | openbox/stacking.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c index 4b01f45d..afd890a4 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -179,6 +179,11 @@ static void restack_windows(ObClient *selected, gboolean raise) /* that is, if it has any parents */ if (!(top->data == selected && top->next == NULL)) { + /* place the window being lowered on the bottom so it'll be + below any of its peers that it can */ + stacking_list = g_list_remove(stacking_list, selected); + stacking_list = g_list_append(stacking_list, selected); + /* go thru stacking list backwards so we can use g_slist_prepend */ for (it = g_list_last(stacking_list); it && top; it = g_list_previous(it)) |
