From 403af2206196d649e21a8a75eb2ba5093bb8f00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 16:09:16 +0100 Subject: [PATCH] wayland: warn when presentation timings have been requested but is not supported --- wayland.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wayland.c b/wayland.c index 30c224d5..cbd49179 100644 --- a/wayland.c +++ b/wayland.c @@ -578,6 +578,10 @@ wayl_init(const struct config *conf, struct fdm *fdm) if (wayl->primary_selection_device_manager == NULL) LOG_WARN("no primary selection available"); + if (conf->presentation_timings && wayl->presentation == NULL) + LOG_WARN("presentation time interface not implemented by compositor; " + "timings will not be available"); + tll_foreach(wayl->monitors, it) { LOG_INFO( "%s: %dx%d+%dx%d@%dHz %s (%.2f\", PPI=%dx%d, scale=%d)",