commit c8f2963abc375f5427f9ad1dd3477cb4b2430d6e
parent 0051f8e094bac6f0cdcae832ed5d44b96b1a968f
Author: Vlad Pănăzan <vlad@panazan.ro>
Date: Sat, 22 Feb 2020 02:31:23 +0200
Fix build with latest version of wlroots
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layers.c b/layers.c
@@ -275,7 +275,7 @@ void server_new_layer_surface(struct wl_listener *listener, void *data) {
// TODO: popups
// TODO: Listen for subsurfaces
- wl_list_insert(&output->layers[layer_surface->layer], &wio_surface->link);
+ wl_list_insert(&output->layers[layer_surface->client_pending.layer], &wio_surface->link);
// Temporarily set the layer's current state to client_pending
// So that we can easily arrange it
struct wlr_layer_surface_v1_state old_state = layer_surface->current;