aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/output/output.c1
1 files changed, 1 insertions, 0 deletions
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;