From 57a7b3998ea62616223000eb6369c999b4cd1a94 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 13 Dec 2021 18:33:32 +0100 Subject: swaynag: remove xdg-output logic We can just get the output name from wl_output directly, now that wl_output version 4 exists. --- swaybar/bar.c | 1 - 1 file changed, 1 deletion(-) (limited to 'swaybar') diff --git a/swaybar/bar.c b/swaybar/bar.c index 18b87e6d..6ffdc9b4 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c @@ -54,7 +54,6 @@ static void swaybar_output_free(struct swaybar_output *output) { if (output->input_region != NULL) { wl_region_destroy(output->input_region); } - zxdg_output_v1_destroy(output->xdg_output); wl_output_destroy(output->output); destroy_buffer(&output->buffers[0]); destroy_buffer(&output->buffers[1]); -- cgit v1.2.3