Skip to content
Commit 48d4153c authored by Hans de Goede's avatar Hans de Goede Committed by Olivier Fourdan
Browse files

seat-native: Fix has_touchscreen becoming FALSE when a non touchscreen device gets added

Unconditionally setting has_touchscreen to check_touch_mode
when a new device gets added leads to has_touchscreen becoming
false when during runtime e.g. an USB keyboard gets plugged in.

Fix this by setting has_touchscreen to TRUE when check_touch_mode
is TRUE and leaving it alone otherwise.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1506
(cherry picked from commit 6c240dc8)

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1610>
parent 4bb5ff39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment