Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion shiny/driver/internal/x11key/x11key.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
package x11key // import "golang.org/x/exp/shiny/driver/internal/x11key"

import (
"runtime"
"unicode"

"golang.org/x/mobile/event/key"
Expand Down Expand Up @@ -41,7 +42,7 @@ func (t *KeysymTable) Lookup(detail uint8, state uint16) (rune, key.Code) {
if state&t.ModeSwitchMod != 0 {
te = t.Table[detail][2:4]
}
if state&t.ISOLevel3ShiftMod != 0 {
if state&t.ISOLevel3ShiftMod != 0 && runtime.GOOS != "linux" {
te = t.Table[detail][4:6]
}

Expand Down