Fix some bugs with multiple screens#164
Merged
Merged
Conversation
To avoid confusion with the [NSScreen mainScreen] concept which is the screen containing the active keyboard focused window.
We can detect when the mouse is being moved by the user in case that we want to update something (e.g. the window coordinates) in the client area (multiple_windows example does this).
5235371 to
779f5a6
Compare
* Simplify code to locate the each window * Added possibility to resize a window w/shift+arrow keys
Member
Author
|
Before:
After 25d60a2:
The "H" window is not located correctly because it looks like a macOS bound check in the initialization of a new app to avoid overlapping the dock (even if the window is not close to the dock at all). |
dacap
added a commit
to dacap/aseprite
that referenced
this pull request
Nov 10, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


[NSScreen mainScreen]as the primary screen which isNSScreen.screens[0]in fact