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

Bugs in dual screen mode #19

Open
LlinksRechts opened this issue Jun 24, 2020 · 0 comments
Open

Bugs in dual screen mode #19

LlinksRechts opened this issue Jun 24, 2020 · 0 comments

Comments

@LlinksRechts
Copy link
Contributor

DISCLAIMER: I am mainly creating this issue for documentation purpose, as I am currently working on a fix for the described problems and am planning on submitting a PR soon

I have recently started using snaptile again and have come across two bugs in dual screen mode (-d):

  1. The position is calculated based on the current screen; therefore, eg. pressing ctrl+alt+d moves the window between the screens on multiple presses. As a result, offsets on the second screen are wrong most of the time
  2. If the screens are not aligned / different sizes / ..., the calculated position is wrong in a lot of cases, since only one screen is used to calculate offsets (which are then wrong on the second screen). Of course, positioning windows spanning multiple, misaligned screens is not trivial; I would suggest to just calculate the two quadrants on the respective screen (the two corners) and drawing a rectangle around them; this means that the resulting geometry might be a bit weird sometimes (reaching out of the screen...), but would at least be consistent with the system.
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

No branches or pull requests

1 participant