-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(window-state): restore window position if the one of the window c…
…orners intersects with monitor (#898) * fix(window-state): restore window positions that matches monitor positions closes #892 * check for intersections of any window corner instead of only top-left
- Loading branch information
Showing
2 changed files
with
70 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"window-state": "patch" | ||
--- | ||
|
||
Address a couple of issues with restoring positions: | ||
|
||
- Fix restoring window positions correctly when the top-left corner of the window was outside of the monitor. | ||
- Fix restore maximization state only maximized on main monitor. |
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