This reverts commit 356e18dcc6. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2022>
356e18dcc6