-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): skip destroyed windows on rule enforcement
This commit introduces an if let binding to only process windows which still exist when attempting to enforce workspace rules. Previously, calls to functions such as Window::exe might have returned an error if a window which had been destroyed but not yet removed from the state was examined by the enforce_workspace_rules fn. Now, such windows will fail the if let binding and be skipped entirely, eventually being removed by the core event processing loop.
- Loading branch information
Showing
1 changed file
with
49 additions
and
49 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