aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2021-10-24 18:49:39 -0700
committerSimon Ser <contact@emersion.fr>2021-12-17 14:39:48 +0100
commitebfe432ec3064094faebe0913b2d98932d590bfd (patch)
tree8a512564f0948e673c27e3bff0e8b5aa41bb7304 /include
parentf2b6d1ec290014674bf2755a3488aef8ab51a182 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 5dfe0fff..26b9709f 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -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;