diff options
author | Mavridis Philippe <[email protected]> | 2024-10-28 14:40:20 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2025-01-28 15:20:08 +0200 |
commit | a76513462e5eef4bca60b0aadde4a07da5b41450 (patch) | |
tree | 5373720f09c549226278901526a7351628b779c4 /kxkb/extension.h | |
parent | fc50dbc59e9b11c513975f5cee71585859c63b38 (diff) | |
download | tdebase-a76513462e5eef4bca60b0aadde4a07da5b41450.tar.gz tdebase-a76513462e5eef4bca60b0aadde4a07da5b41450.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/extension.h')
-rw-r--r-- | kxkb/extension.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kxkb/extension.h b/kxkb/extension.h index 9a3d2da8e..091cce582 100644 --- a/kxkb/extension.h +++ b/kxkb/extension.h @@ -17,8 +17,8 @@ public: static bool setXkbOptions(const XkbOptions options); static TQString getServerOptions(); - bool setGroup(unsigned int group); - unsigned int getGroup() const; + bool setGroup(uint group); + uint getGroup() const; void processXEvent(XEvent *ev); private: |