This reverts commit 14767eccc0. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2021>
14767eccc0