~albertomilone/unity-settings-daemon/non-blocking-touch-mapping-wily

Viewing all changes in revision 4087.

  • Committer: CI Train Bot
  • Author(s): Lars Uebernickel
  • Date: 2015-07-20 15:39:06 UTC
  • mfrom: (4086.1.1 trunk)
  • Revision ID: ci-train-bot@canonical.com-20150720153906-iah8niufhg6jw6mk
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: #1454950
Approved by: Robert Ancell

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: