Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gui): detect if a window is opened inside a visible screen #521

Merged
merged 1 commit into from
Mar 26, 2019
Merged

fix(gui): detect if a window is opened inside a visible screen #521

merged 1 commit into from
Mar 26, 2019

Conversation

asashour
Copy link
Contributor

@asashour asashour commented Mar 26, 2019

This change accepts the stored windows positions only if they are completely inside one of the visible screens, otherwise show it by the default location in the default screen.

The reason of this, if a user changes from two screens to one screen, then he won't be able to see the windows at all.

Ideally, we should check if a part of the window is inside the screen, or if the window is split between two screens, but I don't think this is necessary at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants