Skip to content

Commit

Permalink
#4396 only use client keycode with x11 clients
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 28, 2024
1 parent 59c388f commit fb72d90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xpra/x11/server/keyboard_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ def do_get_keycode(self, client_keycode: int, keyname: str, pressed: bool, modif
if keycode >= 0:
kmlog(keyname, "do_get_keycode (%i, %s)=%s (native keymap)", client_keycode, keyname, keycode)
return keycode, group
if self.x11_keycodes and client_keycode >= 0:
return client_keycode, group
return self.find_matching_keycode(client_keycode, keyname, pressed, modifiers, keyval, keystr, group)

def find_matching_keycode(self, client_keycode: int, keyname: str,
Expand Down

0 comments on commit fb72d90

Please sign in to comment.