[Differential] [Request, 595 lines] D3264: [libinput] Load/store device configuration
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Fri Nov 4 15:01:33 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
Device gets a KConfigGroup injected and supports loading device-specific
settings. This is invoked from Libinput::Connection when adding a new
Device.
Whenever a Device option is changed successfully through the DBus
interface it gets synced into the KConfigGroup, thus on next loading of
the Device it gets restored.
The config group follows a pattern of:
[libinput][vendor][product]
Thus every device has a specific and persistent configuration.
TEST PLAN
So far only tested through autotests
REPOSITORY
rKWIN KWin
BRANCH
libinput-device-load-config
REVISION DETAIL
https://phabricator.kde.org/D3264
AFFECTED FILES
autotests/libinput/CMakeLists.txt
autotests/libinput/device_test.cpp
libinput/connection.cpp
libinput/device.cpp
libinput/device.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161104/813bf8f6/attachment.html>
More information about the Plasma-devel
mailing list