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