Skip to content

Commit

Permalink
fix(subscriptions): add override for title updates
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed Nov 25, 2024
1 parent b14c0d0 commit 9c09284
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions komorebi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ use crate::core::config_generation::IdWithIdentifier;
use crate::core::config_generation::MatchingRule;
use crate::core::config_generation::MatchingStrategy;
use crate::core::config_generation::WorkspaceMatchingRule;
use crate::winevent::WinEvent;
use color_eyre::Result;
use os_info::Version;
use parking_lot::Mutex;
Expand Down Expand Up @@ -307,6 +308,11 @@ pub fn notify_subscribers(notification: Notification, state_has_been_modified: b
| NotificationEvent::Socket(SocketMessage::AddSubscriberSocketWithOptions(_, _))
| NotificationEvent::Socket(SocketMessage::Theme(_))
| NotificationEvent::Socket(SocketMessage::ReloadStaticConfiguration(_))
| NotificationEvent::WindowManager(WindowManagerEvent::TitleUpdate(_, _))
| NotificationEvent::WindowManager(WindowManagerEvent::Show(
WinEvent::ObjectNameChange,
_
))
);

let notification = &serde_json::to_string(&notification)?;
Expand Down

0 comments on commit 9c09284

Please sign in to comment.