From 6d86c1b8986aa772eb3858bdbe041d07f543ab1a Mon Sep 17 00:00:00 2001 From: Kirill Pushkaryov <83760742+kpushkaryov@users.noreply.github.com> Date: Wed, 8 Jan 2025 14:06:54 +0700 Subject: [PATCH] fix erroneously inverted condition introduced by 84a5a81aa1fb41a3dac3b4c78d92b54b13278a5c --- xpra/x11/server/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpra/x11/server/core.py b/xpra/x11/server/core.py index e027168ed8..2f9beceecb 100644 --- a/xpra/x11/server/core.py +++ b/xpra/x11/server/core.py @@ -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=}")