From 3c82c8ef9f4c7229fbde36cbaddd7d30fb50b672 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Mon, 27 Jul 2020 23:57:18 -0700 Subject: [PATCH] wlr_layer is now initialized to ZWLR_LAYER_SHELL_V1_LAYER_TOP --- src/wofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wofi.c b/src/wofi.c index 1f718a5..7c4b0b8 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -1708,7 +1708,7 @@ void wofi_init(struct map* _config) { gdk_wayland_window_set_use_custom_surface(gdk_win); wl_surface = gdk_wayland_window_get_wl_surface(gdk_win); - enum zwlr_layer_shell_v1_layer wlr_layer; + enum zwlr_layer_shell_v1_layer wlr_layer = ZWLR_LAYER_SHELL_V1_LAYER_TOP; if(strcmp(layer, "background") == 0) { wlr_layer = ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND;