D13178: Compress calls to configuration slots upon new connections
Jacopo De Simoi
noreply at phabricator.kde.org
Mon May 28 17:54:58 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180528/5cc15f7e/attachment-0001.html>
More information about the Plasma-devel
mailing list