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