aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 1b72fc21..f8d831d3 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -533,6 +533,7 @@ static void update_output_manager_config(struct sway_server *server) {
533 533
534static void handle_destroy(struct wl_listener *listener, void *data) { 534static void handle_destroy(struct wl_listener *listener, void *data) {
535 struct sway_output *output = wl_container_of(listener, output, destroy); 535 struct sway_output *output = wl_container_of(listener, output, destroy);
536 struct sway_server *server = output->server;
536 wl_signal_emit(&output->events.destroy, output); 537 wl_signal_emit(&output->events.destroy, output);
537 538
538 if (output->enabled) { 539 if (output->enabled) {
@@ -550,7 +551,7 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
550 551
551 transaction_commit_dirty(); 552 transaction_commit_dirty();
552 553
553 update_output_manager_config(output->server); 554 update_output_manager_config(server);
554} 555}
555 556
556static void handle_mode(struct wl_listener *listener, void *data) { 557static void handle_mode(struct wl_listener *listener, void *data) {