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