wayland: warn when presentation timings have been requested but is not supported

This commit is contained in:
Daniel Eklöf 2020-01-01 16:09:16 +01:00
parent fad5c87f65
commit 403af22061
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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)",