on xenial help sign in
use Mir device keymap
439ffe9Lukáš Tinkl
qml/Components/KeymapSwitcher.qml+9−3
@@ -59,9 +59,15 @@ QtObject {
59 currentKeymapIndex = prevIndex;
59 currentKeymapIndex = prevIndex;
60 }
60 }
61
61
62− property Binding surfaceKeymapBinding: Binding {
62+// property Binding surfaceKeymapBinding: Binding {
63− target: MirFocusController.focusedSurface
63+// target: MirFocusController.focusedSurface
64− property: "keymap"
64+// property: "keymap"
65+// value: root.currentKeymap
66+// }
67+
68+ property Binding unityKeymapBinding: Binding {
69+ target: Mir
70+ property: "currentKeymap"
65 value: root.currentKeymap
71 value: root.currentKeymap
66 }
72 }
67
73