Skip to content

Commit

Permalink
keynames is a list!
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 31, 2021
1 parent 63c9121 commit b96aaee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/x11/xkbhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def get_modifiers_from_keycodes(xkbmap_keycodes, add_default_modifiers=True):
if modifier:
keynames = matches.setdefault(modifier, [])
if keyname not in keynames:
keynames.add(keyname)
keynames.append(keyname)
all_keynames.add(keyname)
if add_default_modifiers:
#try to add missings ones (magic!)
Expand Down

0 comments on commit b96aaee

Please sign in to comment.