alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
239 stars 12 forks source link

Mouse can't move accross monitors on edges #146

Closed hyperion-ak closed 2 months ago

hyperion-ak commented 6 months ago

I have a laptop display and external monitor setup configured with ALIGN=MIDDLE. When moving the mouse from the external monitor over to the laptop display (smaller screen size), the cursor can not move across on the top and bottom part of the edge. However, the cursor can move in the middle.

I think this is related to the different size of the two monitors.

alex-courtis commented 6 months ago

Unfortunately way-displays cannot do anything about that, it simply tells the compositor what size and where the monitors are.

We'll need the compositor to do that "warping" of the mouse. Which compositor are you using? You could raise a feature request - it sounds like a great use case.

hyperion-ak commented 6 months ago

Hi, thank you for your reply. I am using way-displays with sway as a compositor.

alex-courtis commented 6 months ago

Very quick search shows https://github.com/swaywm/sway/issues/6607

If that's the one, give it a thumbs up to vote.

alex-courtis commented 4 months ago

This will identify if there are mismatches: #157

alex-courtis commented 2 months ago

This issue should be resolved via #138 Any 1-pixel-rounding-error gaps are now handled by the compositor and way-displays, using the new fractional scaling protocol agreements.

Please comment or reopen if you have any further issues.