D10112: watch the tabletMode from KWin
Marco Martin
noreply at phabricator.kde.org
Fri Jan 26 10:56:16 UTC 2018
mart created this revision.
mart added reviewers: Plasma, Kirigami.
Restricted Application added projects: Plasma, Kirigami.
Restricted Application added a subscriber: plasma-devel.
mart requested review of this revision.
REVISION SUMMARY
Add api in the C++ library that watches the tablet mode property exposed from
KWin. use dbus, but only on linux,bsd etc, not on Android, Windows etc.
connect it to Settings.isMobile which was already used for it (even tough
it introduces a naming inconsistence, but needed for retrocompatibility)
TEST PLAN
tested to switch on the fly on Wayland with the kwin tablet mode sensor working
REPOSITORY
R169 Kirigami
BRANCH
mart/tabletMode
REVISION DETAIL
https://phabricator.kde.org/D10112
AFFECTED FILES
CMakeLists.txt
examples/gallerydata/contents/ui/gallery/MiscGallery.qml
src/CMakeLists.txt
src/controls/templates/SwipeListItem.qml
src/libkirigami/CMakeLists.txt
src/libkirigami/org.kde.KWin.TabletModeManager.xml
src/libkirigami/tabletmodewatcher.cpp
src/libkirigami/tabletmodewatcher.h
src/settings.cpp
src/settings.h
To: mart, #plasma, #kirigami
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180126/7abeaa0c/attachment-0001.html>
More information about the Plasma-devel
mailing list