broulik created this revision.
broulik added reviewers: Plasma, sitter.
broulik set the repository for this revision to rPLASMADESKTOP Plasma Desktop.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
It does X calls and might crash kded on logout. Since we already have a
currentLayout member, there's no need to get it afresh.
Verified that changing the keyboard layout through the tray icon invokes
KeyboardDaemon::layoutChanged() where currentLayout is updated.
Then kquitapp kded5 and it saved the proper layout.
Didn't test whether other means (there's perhaps other ways the layout can
change? dunno, it's X.) still work.
rPLASMADESKTOP Plasma Desktop
To: broulik, #plasma, sitter
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas