Skip to content

Commit

Permalink
fix erroneously inverted condition
Browse files Browse the repository at this point in the history
introduced by 84a5a81
  • Loading branch information
kpushkaryov authored and totaam committed Jan 8, 2025
1 parent c1bc575 commit 0e7dfbf
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 @@ -245,7 +245,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 0e7dfbf

Please sign in to comment.