aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-12-13 18:33:32 +0100
committerLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2021-12-13 20:17:20 -0600
commit57a7b3998ea62616223000eb6369c999b4cd1a94 (patch)
treeb008d40847ea177b20120d53c1d923638906e52f /swaybar
parentAdd support for linux-dmabuf surface hints (diff)
downloadsway-57a7b3998ea62616223000eb6369c999b4cd1a94.tar.gz
sway-57a7b3998ea62616223000eb6369c999b4cd1a94.tar.zst
sway-57a7b3998ea62616223000eb6369c999b4cd1a94.zip
swaynag: remove xdg-output logic
We can just get the output name from wl_output directly, now that wl_output version 4 exists.
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/bar.c1
1 files changed, 0 insertions, 1 deletions
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) {
54 if (output->input_region != NULL) { 54 if (output->input_region != NULL) {
55 wl_region_destroy(output->input_region); 55 wl_region_destroy(output->input_region);
56 } 56 }
57 zxdg_output_v1_destroy(output->xdg_output);
58 wl_output_destroy(output->output); 57 wl_output_destroy(output->output);
59 destroy_buffer(&output->buffers[0]); 58 destroy_buffer(&output->buffers[0]);
60 destroy_buffer(&output->buffers[1]); 59 destroy_buffer(&output->buffers[1]);