Skip to content

Commit

Permalink
koekeishiya#586 properly unmanage root window when space changes to f…
Browse files Browse the repository at this point in the history
…loat
  • Loading branch information
koekeishiya authored and unrevre committed Jun 22, 2020
1 parent 685d462 commit 2340eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Fixed an issue that caused a window to not become unmanaged when a space with a single window changed to float [#586](https://github.com/koekeishiya/yabai/issues/586)

## [3.2.1] - 2020-06-17
### Changed
Expand Down
1 change: 1 addition & 0 deletions src/view.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ void view_clear(struct view *view)
if (view->root) {
if (view->root->left) window_node_destroy(view->root->left);
if (view->root->right) window_node_destroy(view->root->right);
if (view->root->window_id) window_manager_remove_managed_window(&g_window_manager, view->root->window_id);
insert_feedback_destroy(view->root);
memset(view->root, 0, sizeof(struct window_node));
view_update(view);
Expand Down

0 comments on commit 2340eca

Please sign in to comment.