gui: set keyboard layout from feature
This commit is contained in:
parent
27aad9bd38
commit
9734921d9c
@ -66,3 +66,10 @@ class GUI(qubes.ext.Extension):
|
||||
str(vm.guivm.xid))
|
||||
except AttributeError:
|
||||
vm.untrusted_qdb.write('/qubes-gui-domain-xid', '')
|
||||
|
||||
# Add keyboard layout from that of GuiVM
|
||||
try:
|
||||
kbd_layout = vm.guivm.features['keyboard-layout']
|
||||
vm.untrusted_qdb.write('/keyboard-layout', kbd_layout)
|
||||
except AttributeError:
|
||||
vm.untrusted_qdb.write('/keyboard-layout', '')
|
||||
|
Loading…
Reference in New Issue
Block a user