projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60b5b0
)
ModelTabletModeNoSuspend=1 is currently only honored for keyboards, but not touchpads...
author
Thomas Sailer
<t.sailer@alumni.ethz.ch>
Thu, 3 Jan 2019 01:22:21 +0000
(
02:22
+0100)
committer
Thomas Sailer
<t.sailer@alumni.ethz.ch>
Thu, 3 Jan 2019 09:15:14 +0000
(10:15 +0100)
src/evdev-mt-touchpad.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad.c
b/src/evdev-mt-touchpad.c
index b1a3632f5fce584c9b3f4a31df50316f02e63827..650a193e779258f7c07acb6b53eacc73690ac2e6 100644
(file)
--- a/
src/evdev-mt-touchpad.c
+++ b/
src/evdev-mt-touchpad.c
@@
-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,