mirror of
https://github.com/brl/mutter.git
synced 2025-06-03 20:23:58 +00:00

On a Surface Pro 2017, touch-mode is currently only detected correctly after detaching and attaching the Type Cover (detachable keyboard) once, it seems that `has_external_keyboard` is only set to the correct value after MetaSeatNative is initialized. So fix that and call `update_touch_mode()` once again when the object is initialized and the `has_external_keyboard` and `has_touchscreen` properties have been finally updated. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1075