mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-09 16:50:19 +01: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)
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue