summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland-output.c
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2023-11-27 13:57:58 +0100
committerOlivier Fourdan <ofourdan@redhat.com>2024-03-20 09:05:36 +0100
commit3e77c1699a843c0512a347cf25938d1f93e715ae (patch)
tree3baa41366627777dda472fd8e67f3c369303cbf0 /hw/xwayland/xwayland-output.c
parent7a78756d0a4e7a2332e53940413b9e61b418345b (diff)
xwayland: Add helper function for fractional scaling
Fractional scaling may not be available, or not suitable for the current configuration (e.g. if running rootless). Add a helper function to tell whether fractional scaling should be used. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-By: Kenny Levinsen <kl@kl.wtf> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197>
Diffstat (limited to 'hw/xwayland/xwayland-output.c')
0 files changed, 0 insertions, 0 deletions