You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Flöser e0b1a5715b Add DBus interface to OrientationSensor and a persistent configuration
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

Reviewers: #kwin, #plasma, sebas, davidedmundson

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8738
7 years ago
..
drm [autotests] Support new way to run the tests without need to install 7 years ago
integration Register a fake appmenu UI for the appmenu test 7 years ago
libinput [libinput] Find screen for touch screen devices and calibrate accordingly 7 years ago
libkwineffects [autotests] Support new way to run the tests without need to install 7 years ago
libxrenderutils [autotests] Support new way to run the tests without need to install 7 years ago
tabbox [autotests] Support new way to run the tests without need to install 7 years ago
CMakeLists.txt Add DBus interface to OrientationSensor and a persistent configuration 7 years ago
abstract_client.h
client.h
fakeeffectplugin.cpp
fakeeffectplugin.json
fakeeffectplugin_version.cpp
fakeeffectplugin_version.json
mock_abstract_client.cpp
mock_abstract_client.h
mock_client.cpp
mock_client.h
mock_effectshandler.cpp
mock_effectshandler.h
mock_screens.cpp
mock_screens.h
mock_workspace.cpp
mock_workspace.h Move XRandR event filter into XRandRScreens 7 years ago
onscreennotificationtest.cpp
onscreennotificationtest.h
opengl_context_attribute_builder_test.cpp
test_builtin_effectloader.cpp
test_client_machine.cpp
test_gbm_surface.cpp Fix DRM EGL crash regression 7 years ago
test_gestures.cpp
test_plugin_effectloader.cpp
test_screen_edges.cpp
test_screen_paint_data.cpp
test_screens.cpp
test_scripted_effectloader.cpp
test_virtual_desktops.cpp
test_virtualkeyboard_dbus.cpp Add DBus protocol to virtual keyboard 7 years ago
test_window_paint_data.cpp
test_x11_timestamp_update.cpp [autotests] Support new way to run the tests without need to install 7 years ago
test_xcb_size_hints.cpp
test_xcb_window.cpp
test_xcb_wrapper.cpp
test_xkb.cpp Support mapping QKeyEvent to xkb_keysym_t 7 years ago
test_xrandr_screens.cpp
testutils.h
workspace.h