fix(subscriptions): add override for title updates

This commit is contained in:
LGUG2Z
2024-11-25 10:22:12 -08:00
parent b14c0d07a2
commit 9c09284b0f

View File

@@ -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;
@@ -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)?;