mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-07 11:58:04 +02:00
ModelTabletModeNoSuspend=1 is currently only honored for keyboards, but not touchpads. This commit changes that.
This commit is contained in:
parent
a60b5b0f8f
commit
f9ec9b8f8d
1 changed files with 4 additions and 0 deletions
|
|
@ -2504,6 +2504,10 @@ tp_pair_tablet_mode_switch(struct evdev_device *touchpad,
|
||||||
if (touchpad->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD)
|
if (touchpad->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (evdev_device_has_model_quirk(touchpad,
|
||||||
|
QUIRK_MODEL_TABLET_MODE_NO_SUSPEND))
|
||||||
|
return;
|
||||||
|
|
||||||
evdev_log_debug(touchpad,
|
evdev_log_debug(touchpad,
|
||||||
"tablet_mode_switch: activated for %s<->%s\n",
|
"tablet_mode_switch: activated for %s<->%s\n",
|
||||||
touchpad->devname,
|
touchpad->devname,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue