~larsu/unity-settings-daemon/allow-disabling-touchpad

Viewing all changes in revision 4087.

  • Committer: Lars Uebernickel
  • Date: 2015-07-11 10:33:57 UTC
  • Revision ID: lars@uebernic.de-20150711103357-utn2wggx6mnhkmdq
mouse: allow force-disabling touchpad

The mouse plugin currently makes sure that at least one pointing device
is present. When the last external device is unplugged, it enables the
touchpad (if present). However, that logic also enables the touchpad
when it itself is "unplugged", for example by a hardware switch.

Fix this by not enabling the touchpad if that was the device that was
just removed.

Fixes LP: #1454950

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: