mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
wayland: warn when presentation timings have been requested but is not supported
This commit is contained in:
parent
fad5c87f65
commit
403af22061
1 changed files with 4 additions and 0 deletions
|
|
@ -578,6 +578,10 @@ wayl_init(const struct config *conf, struct fdm *fdm)
|
||||||
if (wayl->primary_selection_device_manager == NULL)
|
if (wayl->primary_selection_device_manager == NULL)
|
||||||
LOG_WARN("no primary selection available");
|
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) {
|
tll_foreach(wayl->monitors, it) {
|
||||||
LOG_INFO(
|
LOG_INFO(
|
||||||
"%s: %dx%d+%dx%d@%dHz %s (%.2f\", PPI=%dx%d, scale=%d)",
|
"%s: %dx%d+%dx%d@%dHz %s (%.2f\", PPI=%dx%d, scale=%d)",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue