revert 'workaround for #45.'
This commit is contained in:
parent
07d111af36
commit
c54e8327ac
@ -245,14 +245,7 @@ func (manager *RemoteManager) GetScreenSize() *types.ScreenSize {
|
||||
}
|
||||
|
||||
func (manager *RemoteManager) SetKeyboardLayout(layout string) {
|
||||
// Workaround for https://github.com/m1k1o/neko/issues/45
|
||||
// When pressing `shift` + `,` instead of `<` comes `>`.
|
||||
variant := ""
|
||||
// if layout == "us" {
|
||||
// variant = "mac" // TODO: Test all keys.
|
||||
// }
|
||||
|
||||
exec.Command("setxkbmap", layout, variant).Run()
|
||||
exec.Command("setxkbmap", layout).Run()
|
||||
}
|
||||
|
||||
func (manager *RemoteManager) SetKeyboardModifiers(NumLock int, CapsLock int, ScrollLock int) {
|
||||
|
Reference in New Issue
Block a user