sway
sway copied to clipboard
allow to move from one screen to another on any y-axis position
Hi,
This issue has been reported to me by @hjbar, I discussed it in private with @emersion who told me to open an issue here.
Let's say you have two screen, one with a height of 100px the other with a height of 150px. If you're on the biggest one and try to move your cursor to the other, it'll only work on the first 100px, not on the 50px left.
It would be great to find some mechanism to allow moving to the other screen even in that case.
We discussed a few ideas with @emersion but nothing that was satisfying...
I agree, that's an important usability enhancement.
Let's say that we got two displays:
- D1 with A1 x B1 dimensions, vertical offset V1 and horizontal offset H1.
- D2 with A2 x B2 dimensions, vertical offset V2 and horizontal offset H2.
- Cursor's position is (X,Y) in the grid in D1 before it went into D2.
Then suggest this behaviour:
- If 0 <= Y < V2, then cursor in D2 will enter at (A1+H1+H2, V2).
- If V2 <= Y < V2+B2, then cursor in D2 will enter at (A1+H1+H2, V2+Y).
- If Y >= V2+B2, then cursor in D2 will enter at (A1+H1+H2, V2+B2-1).
Basically, to move to the nearest available pixel in target display.
My two cents:
I would definitely want this behavior to be optional, as I envision some users may not enjoy cursor jump when it was just on the edge of higher screen and temporarily wondered off to smaller screen due to mouse jitter.
hey, this has been dormant for a while, any hopes of progress?