Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(wm): handle OBJECT_NAMECHANGE for all apps
This commit ensures that EVENT_OBJECT_NAMECHANGE is handled for all windows. Previously this was mapped to WindowManagerEvent::Show, as this is the event that apps like Firefox and JetBrains IDEs sent on launch instead of EVENT_OBJECT_SHOW like normal apps. Now that we are using EVENT_OBJECT_NAMECHANGE to update titles on stackbar tabs, when a window which is not in the whitelist of object_name_change_applications sends this event, it will be handled by the new WindowManagerEvent::TitleUpdate variant. This ensures that a stackbar_manager::Notification is sent at the end of process_event to update stackbar tabs when application titles are changing. resolve #842
- Loading branch information