aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-12-16 10:52:49 -0600
committerDevin J. Pohly <djpohly@gmail.com>2021-12-16 10:52:49 -0600
commitc71a3ac59429ebe2975490bacb388856fec11f9f (patch)
tree8423d02ac7b677179c3fe4dba53eae4757c73664
parent7de6920bd781d77b2d8d5abb847258c6153638c7 (diff)
parentd3efb0b29bda112e61ce0cf81bb596aca97e0ee6 (diff)
Merge branch 'wlroots-next' of github:djpohly/dwl into scenegraph3
-rw-r--r--dwl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwl.c b/dwl.c
index 9e811ca..10f94f7 100644
--- a/dwl.c
+++ b/dwl.c
@@ -926,13 +926,13 @@ createlayersurface(struct wl_listener *listener, void *data)
wlr_layer_surface->surface);
layersurface->scene->data = layersurface;
- wl_list_insert(&m->layers[wlr_layer_surface->client_pending.layer],
+ wl_list_insert(&m->layers[wlr_layer_surface->pending.layer],
&layersurface->link);
- // Temporarily set the layer's current state to client_pending
+ // Temporarily set the layer's current state to pending
// so that we can easily arrange it
old_state = wlr_layer_surface->current;
- wlr_layer_surface->current = wlr_layer_surface->client_pending;
+ wlr_layer_surface->current = wlr_layer_surface->pending;
arrangelayers(m);
wlr_layer_surface->current = old_state;
}