diff options
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index bd3de3fe..70987feb 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -619,7 +619,7 @@ static void output_manager_apply(struct sway_server *server, | |||
619 | if (!test_only && ok) { | 619 | if (!test_only && ok) { |
620 | struct wlr_output_configuration_head_v1 *config_head; | 620 | struct wlr_output_configuration_head_v1 *config_head; |
621 | wl_list_for_each(config_head, &config->heads, link) { | 621 | wl_list_for_each(config_head, &config->heads, link) { |
622 | if (config_head->state.output == sway_output->wlr_output) { | 622 | if (config_head->state.output == cfg->output->wlr_output) { |
623 | store_config = true; | 623 | store_config = true; |
624 | break; | 624 | break; |
625 | } | 625 | } |