changing keyboard layout as go exec.

This commit is contained in:
Miroslav Šedivý
2021-01-12 23:48:15 +01:00
parent 4844225a0b
commit 7f18c5842d
7 changed files with 14 additions and 29 deletions

View File

@ -12,8 +12,7 @@ func (h *MessageHandlerCtx) keyboardLayout(session types.Session, payload *messa
return nil
}
h.desktop.SetKeyboardLayout(payload.Layout)
return nil
return h.desktop.SetKeyboardLayout(payload.Layout)
}
func (h *MessageHandlerCtx) keyboardModifiers(session types.Session, payload *message.KeyboardModifiers) error {