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