summaryrefslogtreecommitdiffstats
path: root/kxkb/eventsrc
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-10-28 14:40:20 +0200
committerMavridis Philippe <[email protected]>2025-01-14 16:41:20 +0200
commite8e67f2fabdef1c786f09026702809324f3f1b8f (patch)
tree2a6fbb57154d79dfbd5aa96532f4a8fcc2eb56e1 /kxkb/eventsrc
parentb8f5a7414bd00abef13ef3ef6557f742849b9191 (diff)
downloadtdebase-e8e67f2fabdef1c786f09026702809324f3f1b8f.tar.gz
tdebase-e8e67f2fabdef1c786f09026702809324f3f1b8f.zip
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 <[email protected]>
Diffstat (limited to 'kxkb/eventsrc')
-rw-r--r--kxkb/eventsrc5
1 files changed, 5 insertions, 0 deletions
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