From 2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 6 Aug 2015 08:40:41 -0400 Subject: [PATCH] Destroy outputs when appropriate --- sway/handlers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/handlers.c b/sway/handlers.c index 9bf3f964a..9addc8476 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) {