Skip to content

Commit

Permalink
#360 fixed issue with border appearing on Safari fullscreen videos
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Apr 14, 2020
1 parent 430329f commit 548339b
Show file tree
Hide file tree
Showing 2 changed files with 3 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
- Changed how *mouse down* events are handled to reduce cycles spent in macOS event tap callback [#376](https://github.com/koekeishiya/yabai/issues/376)
- Fixed an issue that would cause a border to persist on fullscreen videos playing in Safari [#360](https://github.com/koekeishiya/yabai/issues/360)

## [2.4.2] - 2020-04-12
### Changed
Expand Down
3 changes: 2 additions & 1 deletion src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,8 @@ static EVENT_CALLBACK(EVENT_HANDLER_MISSION_CONTROL_EXIT)
struct window *window = bucket->value;
if ((!window->application->is_hidden) &&
(!window->is_fullscreen) &&
(!window->is_minimized)) {
(!window->is_minimized) &&
(!window_is_fullscreen(window))) {
border_window_show(window);
}
}
Expand Down

0 comments on commit 548339b

Please sign in to comment.