From c54e8327ac9b2983dea80928707ac38d6d5bc44c Mon Sep 17 00:00:00 2001 From: m1k1o Date: Sun, 11 Apr 2021 12:12:06 +0200 Subject: [PATCH] revert 'workaround for #45.' --- server/internal/remote/manager.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/server/internal/remote/manager.go b/server/internal/remote/manager.go index a66d9ca6..02db80fd 100644 --- a/server/internal/remote/manager.go +++ b/server/internal/remote/manager.go @@ -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) {