aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-12-13 18:33:32 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-12-13 20:17:20 -0600
commit57a7b3998ea62616223000eb6369c999b4cd1a94 (patch)
treeb008d40847ea177b20120d53c1d923638906e52f /swaybar
parent4732325f591455f1e4bdcb35652505a8a636663a (diff)
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) {
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]);