diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-11 08:11:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 08:11:11 -0400 |
commit | b2112686df29e5d7df7fbd10eedf94710d12756c (patch) | |
tree | 54c8ae21ed4e2f1ee16c8dcf3fdf81ddf5e96182 /rootston | |
parent | ca331c0468415be6f6028c8dd7a2238f132a2c91 (diff) | |
parent | e9e65c549ad914a3e05c4eefcad6fcd88b874f5a (diff) |
Merge pull request #1239 from dcz-purism/layer_order_master
rootston: Keep older anchored layers near anchor points
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/layer_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/layer_shell.c b/rootston/layer_shell.c index 4ce4c293..39054079 100644 --- a/rootston/layer_shell.c +++ b/rootston/layer_shell.c @@ -110,7 +110,7 @@ static void arrange_layer(struct wlr_output *output, struct wlr_box full_area = { 0 }; wlr_output_effective_resolution(output, &full_area.width, &full_area.height); - wl_list_for_each(roots_surface, list, link) { + wl_list_for_each_reverse(roots_surface, list, link) { struct wlr_layer_surface *layer = roots_surface->layer_surface; struct wlr_layer_surface_state *state = &layer->current; if (exclusive != (state->exclusive_zone > 0)) { |