mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Commit54f8fc4090introduced the use of wl_surface::set_buffer_scale, which is only available starting with version 3 of the wl_compositor protocol. Because we already prefer version 4 when available, this went unnoticed but broke versions 1, 2 and 3 when reaching the wl_surface::set_buffer_scale call. This restores functionality for version 3 and properly document that versions 1 and 2 are not supported anymore. Signed-off-by: Nicolas Guichard <nicolas.guichard@kdab.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1862> (cherry picked from commitbcc0587ab9)