Skip to content

Commit

Permalink
#4396 only preserve the keycode for X11 clients
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 28, 2024
1 parent ade2db5 commit 8df4aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/x11/server/keyboard_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def do_get_keycode(self, client_keycode: int, keyname: str, pressed: bool, modif
return -1, group
if self.raw:
return client_keycode, group
if self.query_struct:
if self.x11_keycodes:
keycode = self.keycode_translation.get((client_keycode, keyname)) or client_keycode
kmlog(keyname, "do_get_keycode (%i, %s)=%s (native keymap)", client_keycode, keyname, keycode)
return keycode, group
Expand Down

0 comments on commit 8df4aca

Please sign in to comment.