Skip to content

Commit

Permalink
Merge pull request #4463 from kpushkaryov/patch-1
Browse files Browse the repository at this point in the history
fix erroneously inverted condition
  • Loading branch information
totaam authored Jan 8, 2025
2 parents 03a6da6 + 6d86c1b commit 56755e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/x11/server/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def set_keyboard_layout_group(self, grp: int) -> None:
return
if grp < 0:
grp = 0
if self.current_keyboard_group != grp:
if self.current_keyboard_group == grp:
keylog(f"set_keyboard_layout_group({grp}) ignored, value unchanged")
return
keylog(f"set_keyboard_layout_group({grp}) config={self.keyboard_config}, {self.current_keyboard_group=}")
Expand Down

0 comments on commit 56755e3

Please sign in to comment.