mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-15 06:13:36 +01:00
fix(wm): add uncloak as a notif override event
If a user triggers the workspace reconciliator by clicking on an app in the start bar or via alt-tab, a notification should be sent to subscribers such as komorebi-bar so that the focused workspace can be updated. The various komorebi reconciliators and manager modules don't emit events to subscribers themselves (yet?), so for now we can pass on the uncloak event. Maybe we can look into expanding the Notification enum in the future. fix #1211
This commit is contained in:
@@ -298,6 +298,7 @@ pub fn notify_subscribers(notification: Notification, state_has_been_modified: b
|
||||
| NotificationEvent::Socket(SocketMessage::ReloadStaticConfiguration(_))
|
||||
| NotificationEvent::WindowManager(WindowManagerEvent::TitleUpdate(_, _))
|
||||
| NotificationEvent::WindowManager(WindowManagerEvent::Show(_, _))
|
||||
| NotificationEvent::WindowManager(WindowManagerEvent::Uncloak(_, _))
|
||||
);
|
||||
|
||||
let notification = &serde_json::to_string(¬ification)?;
|
||||
|
||||
Reference in New Issue
Block a user