-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Showing
3 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters