Skip to content

Commit

Permalink
0xffffff is not a real key, don't try to find it in the keymap
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@25076 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 25, 2020
1 parent 17c6286 commit 839d0f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xpra/x11/server_keyboard_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ def do_get_keycode(self, client_keycode, keyname, pressed, modifiers, group):
if not self.enabled:
log("ignoring keycode since keyboard is turned off")
return -1
if keyname=="0xffffff":
return -1
keycode = None
if self.xkbmap_query:
keycode = self.keycode_translation.get((client_keycode, keyname)) or client_keycode
Expand Down

0 comments on commit 839d0f6

Please sign in to comment.