From af3188db6737058b65cbaca5dddb453f76523cfa Mon Sep 17 00:00:00 2001 From: Scoopta Date: Mon, 6 Jan 2020 00:40:56 -0800 Subject: [PATCH] Initialized anchor --- src/wofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wofi.c b/src/wofi.c index c0fdddc..088cf96 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -103,7 +103,7 @@ static void config_surface(void* data, struct zwlr_layer_surface_v1* surface, ui } if(location > 0) { - enum zwlr_layer_surface_v1_anchor anchor; + enum zwlr_layer_surface_v1_anchor anchor = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT; switch(location) { case LOCATION_CENTER: