Xwayland is using a copy of the CVT generator found in Xorg.
Rather than duplicating the code within the xserver tree, use the libxcvt implementation instead.
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1142
6ea2c001f xwayland: Use libxcvt
hw/xwayland/Makefile.am | 6 +-
hw/xwayland/xwayland-cvt.c | 288 ++++-----------------------------------------
2 files changed, 24 insertions(+), 270 deletions(-)
Upstream: cgit.freedesktop.org