diff --git a/types/output/output.c b/types/output/output.c index d1fda35e..81c4e39e 100644 --- a/types/output/output.c +++ b/types/output/output.c @@ -358,6 +358,7 @@ static void output_apply_state(struct wlr_output *output, } break; case WLR_OUTPUT_STATE_MODE_CUSTOM: + output->current_mode = NULL; width = state->custom_mode.width; height = state->custom_mode.height; refresh = state->custom_mode.refresh;