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