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