diff options
author | 2015-08-06 08:40:41 -0400 | |
---|---|---|
committer | 2015-08-06 08:40:41 -0400 | |
commit | 2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4 (patch) | |
tree | 0f78f8812e4945f7683a9bed78e5537b12934c22 | |
parent | Add layout containers for new outputs (diff) | |
download | sway-2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4.tar.gz sway-2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4.tar.zst sway-2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4.zip |
Destroy outputs when appropriate
-rw-r--r-- | sway/handlers.c | 1 |
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) { | |||
10 | } | 10 | } |
11 | 11 | ||
12 | void handle_output_destroyed(wlc_handle output) { | 12 | void handle_output_destroyed(wlc_handle output) { |
13 | destroy_output(output); | ||
13 | } | 14 | } |
14 | 15 | ||
15 | void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) { | 16 | void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) { |