diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 16:37:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:24 +0000 |
| commit | 8a4efb34276e9f15a65304477c40e71aa281f7ae (patch) | |
| tree | fc0e432906d737f7cf5af72c078ff855d49e2b1c | |
| parent | feature: add a feature flag (for --version) for fractional scaling (diff) | |
wayland: warn when fractional scaling isn’t available
| -rw-r--r-- | wayland.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1386,6 +1386,14 @@ wayl_init(struct fdm *fdm, struct key_binding_manager *key_binding_manager, "bell.urgent will fall back to coloring the window margins red"); } +#if defined(HAVE_FRACTIONAL_SCALE) + if (wayl->fractional_scale_manager == NULL || wayl->viewporter == NULL) { +#else + if (true) { +#endif + LOG_WARN("fractional scaling not available"); + } + if (presentation_timings && wayl->presentation == NULL) { LOG_ERR("presentation time interface not implemented by compositor"); goto out; |
