jacopods created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
jacopods requested review of this revision.
REVISION SUMMARY
Some input devices register several copies of themselves upon connection
(e.g. a mouse registers as a keyboard as well, or a keyboard registers twice as
a keyboard). Hence the keyboard/mouse configuration is called multiple times
for no reason.
This commit compresses the configuration calls using a singleshot timer.
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D13178
AFFECTED FILES
kcms/keyboard/keyboard_daemon.cpp
kcms/keyboard/keyboard_daemon.h
To: jacopods
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, mart