Fix build with latest version of wlroots v1 PROPOSED

Vlad Pănăzan
Vlad Pănăzan: 1
 Fix build with latest version of wlroots

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/wio/patches/9838/mbox | git am -3
Learn more about email & git

[PATCH] Fix build with latest version of wlroots Export this patch

Vlad Pănăzan
 layers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layers.c b/layers.c
index 99ee7f4..84932d8 100644
--- 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;

To git.sr.ht:~sircmpwn/wio
   0051f8e..c8f2963  master -> master
View this thread in the archives