Diffusion KWin 40200565323f

Make it possible to autodetect the tablet mode

Authored by apol on Mar 22 2019, 5:29 PM.

Description

Make it possible to autodetect the tablet mode

Summary:
At the moment it's broken for many of the laptops I've seen, this opens the possibility to start toying with them. The right fix would be to get the kernel to emit the right signals but I'm afraid for some hardware it will be close to impossible.
This includes a kconfig variable variable that will detect it as follows: if there's a touchscreen, when the touchpad gets removed we are on tablet mode (i.e. the pointing will be done using the finger), when it's connected back tablet mode will be restored.

Reviewers: KWin, Plasma, davidedmundson

Reviewed By: KWin, Plasma, davidedmundson

Subscribers: mart, davidedmundson, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D19604

Details

Committed
apolMar 22 2019, 5:29 PM
Reviewer
KWin
Differential Revision
D19604: Make it possible to autodetect the tablet mode
Parents
R108:e7d3099ddd9f: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown