mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-25 09:05:47 -04:00
wayland: make a missing presentation time interface an error
If the user wanted to do presentation timing, and the interface isn't there, then this is an error.
This commit is contained in:
parent
404365ec56
commit
3e5f011f75
1 changed files with 4 additions and 3 deletions
|
|
@ -780,9 +780,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)
|
if (conf->presentation_timings && wayl->presentation == NULL) {
|
||||||
LOG_WARN("presentation time interface not implemented by compositor; "
|
LOG_ERR("presentation time interface not implemented by compositor");
|
||||||
"timings will not be available");
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
tll_foreach(wayl->monitors, it) {
|
tll_foreach(wayl->monitors, it) {
|
||||||
LOG_INFO(
|
LOG_INFO(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue