aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/wayland/output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index 22f61de0..a7facb7b 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -270,6 +270,10 @@ static bool output_test(struct wlr_output *wlr_output,
if (state->committed & WLR_OUTPUT_STATE_MODE) {
assert(state->mode_type == WLR_OUTPUT_STATE_MODE_CUSTOM);
+
+ if (state->custom_mode.refresh != 0) {
+ return false;
+ }
}
if ((state->committed & WLR_OUTPUT_STATE_BUFFER) &&