Commit c730840a authored by Thomas Sailer's avatar Thomas Sailer Committed by Peter Hutterer

ModelTabletModeNoSuspend=1 is currently only honored for keyboards, but not...

ModelTabletModeNoSuspend=1 is currently only honored for keyboards, but not touchpads. This commit changes that.

(cherry picked from commit f9ec9b8f)
parent bb070251
......@@ -2504,6 +2504,10 @@ tp_pair_tablet_mode_switch(struct evdev_device *touchpad,
if (touchpad->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD)
return;
if (evdev_device_has_model_quirk(touchpad,
QUIRK_MODEL_TABLET_MODE_NO_SUSPEND))
return;
evdev_log_debug(touchpad,
"tablet_mode_switch: activated for %s<->%s\n",
touchpad->devname,
......
Markdown is supported
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