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

Revised the location queries for determining if a window contains a given point #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brainwater
Copy link

I have addressed the points raised in #20 (original pull request was #15). The default coordinates used are based on the active monitor, however there is a boolean xml attribute "global" that can be added to the containsxpoint and containsypoint queries in order to treat the points as global coordinates, not just for the active monitor.

With an asymmetrical monitor setup (e.g. a 4k screen next to a 1080p screen, like my current setup at work) the global coordinates would be less useful in my opinion, however with symmetrical setups of monitors (e.g. 4 1080p monitors in a grid) especially with higher numbers of monitors, global coordinates could be quite useful. For example in a 4 monitor grid setup (2x2) if a user typically had up to 4 windows in a grid (2x2) on each screen, then the user could use some modifier keys (e.g. W-C) with the keys in the 4x4 grid of 1-4, q-r, a-f, z-v and quickly switch between windows.

@brainwater
Copy link
Author

Have you had a chance to review these changes?

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.

1 participant