aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorBrett Ernst <brett.ernst@icongroup.com>2023-07-18 15:15:59 -0700
committerBrett Ernst <brett.ernst@icongroup.com>2023-07-18 15:27:44 -0700
commit7ce4d557c576eaeef9bae47ac4e28f729ed4143f (patch)
treef7d0ba90e1a39844d7c73925fc395bb6532646ed /backend/x11
parent49c7fcdfb11c2525f8dbf57eb5069ca674e22424 (diff)
backend/x11: log output test failure reasons
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 36ce0c4f..2d433f81 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -127,6 +127,7 @@ static bool output_test(struct wlr_output *wlr_output,
assert(wlr_output->adaptive_sync_status == WLR_OUTPUT_ADAPTIVE_SYNC_ENABLED);
if (state->committed & WLR_OUTPUT_STATE_ADAPTIVE_SYNC_ENABLED) {
if (!state->adaptive_sync_enabled) {
+ wlr_log(WLR_DEBUG, "Disabling adaptive sync is not supported");
return false;
}
}
@@ -135,6 +136,7 @@ static bool output_test(struct wlr_output *wlr_output,
assert(state->mode_type == WLR_OUTPUT_STATE_MODE_CUSTOM);
if (state->custom_mode.refresh != 0) {
+ wlr_log(WLR_DEBUG, "Refresh rates are not supported");
return false;
}
}