Skip to content

Commit

Permalink
koekeishiya#382 don't add window to window-tree when moved to a diffe…
Browse files Browse the repository at this point in the history
…rent space while minimized
  • Loading branch information
koekeishiya authored and brorbw committed Jan 28, 2020
1 parent 61974cf commit 2a29d0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
### Changed
- Ignore minimized windows when an application is unhidden (required by some applications like Chrome..) [#300](https://github.com/koekeishiya/yabai/issues/300)
- Don't add window to the window tree when moved to a different space when the window is minimized (required by some applications like Chrome..) [#382](https://github.com/koekeishiya/yabai/issues/382)

## [2.2.2] - 2020-01-20
### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/window_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ void window_manager_send_window_to_space(struct space_manager *sm, struct window

space_manager_move_window_to_space(dst_sid, window);

if (window_manager_should_manage_window(window)) {
if (window_manager_should_manage_window(window) && !window->is_minimized) {
struct view *view = space_manager_tile_window_on_space(sm, window, dst_sid);
window_manager_add_managed_window(wm, window, view);
}
Expand Down

0 comments on commit 2a29d0e

Please sign in to comment.