Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): ensure removal of max + monocle windows
Previously, the implementation of maximized and monocle windows assumed that the only valid state for them to transition to would be to restore them to the index that they were maximized/monocle-d from in their host workspace. This is not exclusively the case as it is also possible for them to be closed when they are in a maximized or monocle state. This commit updates the Workspace.remove_window() fn to also look for the hwnd to be removed in the monocle container and maximized window, if they exist. fix #19
- Loading branch information