Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Xpra-org/xpra
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 31, 2024
2 parents 534299a + 0183f9e commit 5d0276c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xpra/server/keyboard_config_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def get_info(self) -> dict[str, Any]:

def parse_options(self, props: typedict) -> int:
oldsync = self.sync
self.sync = props.boolget("sync", True)
keymap_dict = typedict(props.dictget("keymap") or {})
self.sync = keymap_dict.boolget("sync", True)
return int(oldsync != self.sync)

def get_hash(self) -> str:
Expand Down

0 comments on commit 5d0276c

Please sign in to comment.