aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <rpigott@berkeley.edu>2021-10-24 18:49:39 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2021-12-17 14:39:48 +0100
commitebfe432ec3064094faebe0913b2d98932d590bfd (patch)
tree8a512564f0948e673c27e3bff0e8b5aa41bb7304 /include
parentHandle border width and height on minimum floating sizes (diff)
downloadsway-ebfe432ec3064094faebe0913b2d98932d590bfd.tar.gz
sway-ebfe432ec3064094faebe0913b2d98932d590bfd.tar.zst
sway-ebfe432ec3064094faebe0913b2d98932d590bfd.zip
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 {
48 struct wl_listener damage_frame; 48 struct wl_listener damage_frame;
49 49
50 struct { 50 struct {
51 struct wl_signal destroy; 51 struct wl_signal disable;
52 } events; 52 } events;
53 53
54 struct timespec last_presentation; 54 struct timespec last_presentation;