From 0e7dfbfd3b806fa723002d364238b1fdbeef1514 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 85e23d3f06..24c7ff2674 100644 --- a/xpra/x11/server/core.py +++ b/xpra/x11/server/core.py @@ -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=}")