Destroy outputs when appropriate

This commit is contained in:
Drew DeVault 2015-08-06 08:40:41 -04:00
parent c102f18499
commit 2786fa2215

View File

@ -10,6 +10,7 @@ bool handle_output_created(wlc_handle output) {
} }
void handle_output_destroyed(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) { void handle_output_resolution_change(wlc_handle output, const struct wlc_size *from, const struct wlc_size *to) {