Skip to content
Commit 718c1872 authored by Andrey Butirsky's avatar Andrey Butirsky
Browse files

feat: [Keyboard Layout applet] add spare layouts support

For now, X11 only

To support spare layouts in new Keyboard Layouts applet via existing
DBus API, they are appended to the main ones and passed to the applet
alongside in a row.
When spare layout selected in applet's context menu, layout swapping
logic takes place - the spare layout activates and placed in last
position of the main layouts loop, preempting previous layout there in
current keymap.
That way the actual keymap can be dynamically modified from the menu,
without reconfiguring in KCM.
No DBus API/applet changes are needed currently.

CCBUG: 430661
parent 9f2f6cc8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment