This reverts commit 9652bc73e2. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2036>
9652bc73e2