mutter/src
Carlos Garnacho f8e2234ce5 backends/native: Drop external keyboard detection for ::touch-mode
This cannot be made to work reliably. Some factoids:

- Internal devices may be connected via USB.
- The ACPI spec provides the _PLD (Physical location of device) hook to
  determine how is an USB device connected, with an anecdotal success
  rate. Internal devices may be seen as external and vice-versa, there is
  also an "unknown" value that is widely used.
- There may be non-USB keyboards, the old "AT Translated Set 2 Keyboard"
  interface does not change on hotplugging.
- Libinput has an internal series of quirks to classify keyboards as
  internal of external, also with an "unknown" value.

These heuristics are kinda hopeless to get right by our own hand. Drop
this external keyboard detection in the hope that there will be something
more deterministic to rely on in the future (e.g. the libinput quirks
made available to us directly or indirectly).

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2378
Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2353

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1277
2020-05-29 14:37:21 +00:00
..
backends backends/native: Drop external keyboard detection for ::touch-mode 2020-05-29 14:37:21 +00:00
compositor wayland: Drive frame callbacks from stage updates 2020-05-26 16:46:57 +02:00
core Reshuffle Wayland initailization 2020-05-26 16:35:00 +02:00
meta backend/xcursor: Support a "blank" cursor type 2020-05-22 14:10:50 +00:00
tests tests/clutter: Don't test BoxLayout's child properties 2020-05-21 15:49:31 +02:00
ui window/x11: Use G_DECLARE_DERIVABLE_TYPE() 2020-04-16 14:08:19 +02:00
wayland wayland: Drive frame callbacks from stage updates 2020-05-26 16:46:57 +02:00
x11 window: Use pid_t for get_client_pid() vfunc 2020-05-21 23:10:23 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build wayland: Add support for wayland-protocols primary selection protocol 2020-05-13 18:27:46 +02:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml monitor-manager: Remove "supports-mirroring" from D-Bus desciption file 2020-05-08 06:50:16 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add RecordArea for screen cast arbitrary area 2020-04-23 14:45:53 +00:00