From e8e67f2fabdef1c786f09026702809324f3f1b8f Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 28 Oct 2024 14:40:20 +0200 Subject: Kxkb: improve system tray code and fix various switching-related bugs - Improved layout change logic (indicator is now always updated when the actual switch occurs). This fixes layout switching triggered by the X11 shortcut not being synchronized with layout switching from the tray icon click and the TDE shortcut. - Kxkb will ignore XkbStateNotify events not related to XkbGroupState which caused strange behaviour with the system tray context menu. - Merged KxkbLabelController into KxkbSystemTray This resolves #547. Signed-off-by: Mavridis Philippe --- kxkb/eventsrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kxkb/eventsrc') diff --git a/kxkb/eventsrc b/kxkb/eventsrc index ce25f3979..1e06d70c3 100644 --- a/kxkb/eventsrc +++ b/kxkb/eventsrc @@ -5,4 +5,9 @@ Comment=TDE Keyboard Tool [LayoutChange] Name=Keyboard layout switch Comment=The keyboard layout was switched +default_presentation=16 + +[Error] +Name=Keyboard layout switching error +Comment=Error while attempting to switch the keyboard layout default_presentation=16 \ No newline at end of file -- cgit v1.2.1