a1bc2e0adc
This only checks touchscreen availability as we have no access to tablet-mode switch events as we do on the native backend. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1242 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1278 (cherry picked from commit 38bbd9593bc3d4c8afa77dcd5329adb8c4f20abf)