This reverts commit d4724009ce. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2027>
d4724009ce