dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 1e1482adcb3bad768c51b47db9bd86b9e54a9001
parent 55bbbc3dcb3d6b938623776993f7ab8494e90763
Author: Leonardo Hernandez Hernandez <leohdz172@outlook.com>
Date:   Fri, 24 Sep 2021 16:12:12 -0500

client_pending has been renamed as pending in wlr_layer_surface_v1

as seen in swaywm/wlroots@59fa363

Diffstat:
Mdwl.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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; }