output: change output::destroy to output::disable

This changes output::destroy to output::disable and emits it only
once when an output is disabled, instead of twice in succession.
This commit is contained in:
Ronan Pigott 2021-10-24 18:49:39 -07:00 committed by Simon Ser
parent f2b6d1ec29
commit ebfe432ec3
4 changed files with 10 additions and 10 deletions

View file

@ -48,7 +48,7 @@ struct sway_output {
struct wl_listener damage_frame;
struct {
struct wl_signal destroy;
struct wl_signal disable;
} events;
struct timespec last_presentation;