summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-09-24 23:24:41 -0500
committerGitHub <noreply@github.com>2021-09-24 23:24:41 -0500
commitd3efb0b29bda112e61ce0cf81bb596aca97e0ee6 (patch)
tree8be1497714f65fbc7615c82a5fe30be8ee6b76bd
parent55bbbc3dcb3d6b938623776993f7ab8494e90763 (diff)
parent1e1482adcb3bad768c51b47db9bd86b9e54a9001 (diff)
Merge pull request #150 from Sevz17/wlroots-next
client_pending has been renamed as pending in wlr_layer_surface_v1
-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;
}