mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 19:07:45 +03:00
swaynag: remove xdg-output logic
We can just get the output name from wl_output directly, now that wl_output version 4 exists.
This commit is contained in:
parent
4732325f59
commit
57a7b3998e
4 changed files with 22 additions and 47 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue