D8738: Add DBus interface to OrientationSensor and a persistent configuration
Martin Flöser
noreply at phabricator.kde.org
Thu Nov 9 17:08:00 UTC 2017
graesslin created this revision.
graesslin added reviewers: KWin, Plasma, sebas, davidedmundson.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY
The initial state for user enabled is now read from config. In addition
a DBus interface is provided exporting this property. This allows
KScreen to determine whether automatic screen rotation is available and
whether the user has it enabled or not.
Furthermore KScreen can change the property and this gets stored into
the configuration. Thus KScreen can offer a user interface to
enable/disable automatic screen rotation as well as enabling/disabling
the manual rotation based on the current user settings.
TEST PLAN
Not yet tested, coded on the system which doesn't have an
orientation sensor
REPOSITORY
R108 KWin
BRANCH
orientation-sensor-dbus
REVISION DETAIL
https://phabricator.kde.org/D8738
AFFECTED FILES
CMakeLists.txt
autotests/CMakeLists.txt
org.kde.kwin.OrientationSensor.xml
orientation_sensor.cpp
orientation_sensor.h
screens.cpp
screens.h
tests/CMakeLists.txt
To: graesslin, #kwin, #plasma, sebas, davidedmundson
Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171109/6be30177/attachment.html>
More information about the Plasma-devel
mailing list