aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-06 08:40:41 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-06 08:40:41 -0400
commit2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4 (patch)
tree0f78f8812e4945f7683a9bed78e5537b12934c22 /sway/handlers.c
parentc102f184994638155248991e50a7a8ae5c620c91 (diff)
Destroy outputs when appropriate
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 9bf3f964..9addc847 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -10,6 +10,7 @@ bool handle_output_created(wlc_handle output) {
}
void handle_output_destroyed(wlc_handle output) {
+ destroy_output(output);
}
void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) {