aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-09-24 16:12:12 -0500
committerLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-09-24 16:12:12 -0500
commit1e1482adcb3bad768c51b47db9bd86b9e54a9001 (patch)
tree8be1497714f65fbc7615c82a5fe30be8ee6b76bd
parent55bbbc3dcb3d6b938623776993f7ab8494e90763 (diff)
client_pending has been renamed as pending in wlr_layer_surface_v1
as seen in swaywm/wlroots@59fa363
-rw-r--r--dwl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwl.c b/dwl.c
index a876e8c..4a58770 100644
--- a/dwl.c
+++ b/dwl.c
@@ -930,13 +930,13 @@ createlayersurface(struct wl_listener *listener, void *data)
wlr_layer_surface->data = layersurface;
m = wlr_layer_surface->output->data;
- 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;
}