This reverts commit 372a510ef0. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
372a510ef0