From 152d3d753692f8aa544aff10cee1ab91e180ead6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 4 Apr 2025 20:48:17 +0200 Subject: m --- src/window/wayland.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/window/wayland.c b/src/window/wayland.c index 63758cd..7e319fb 100644 --- a/src/window/wayland.c +++ b/src/window/wayland.c @@ -179,8 +179,7 @@ static void xdg_output_handle_name(void *data, struct zxdg_output_v1 *xdg_output (void)name; } -static void xdg_output_handle_description(void *data, struct zxdg_output_v1 *xdg_output, const char *description) -{ +static void xdg_output_handle_description(void *data, struct zxdg_output_v1 *xdg_output, const char *description) { (void)data; (void)xdg_output; (void)description; @@ -231,7 +230,7 @@ static void gsr_window_wayland_deinit(gsr_window_wayland *self) { self->outputs[i].name = NULL; } - if(self->outputs[i].output) { + if(self->outputs[i].xdg_output) { zxdg_output_v1_destroy(self->outputs[i].xdg_output); self->outputs[i].output = NULL; } -- cgit v1.2.3-70-g09d2