Weylus icon indicating copy to clipboard operation
Weylus copied to clipboard

Wayland with dual screens causes input to be relative to both monitors

Open dolfandringa opened this issue 1 year ago • 3 comments

Hey all, I love weylus. Its really cool. But I have an issue with Wayland and Dual Monitor setup. I can totally choose to share a specific screen or window, but the input coordinates that are being sent (to pipewire) seem to be relative to both monitors. So if I share my left monitor (or a specific window that is full screen on the left monitor), and draw on the right edge of the tablet, the pointer actually moves to the right edge of my right monitor, not the right edge of my left monitor. And the middle of the tablet, actually ends up as the right edge of the left monitor. This problem doesn't seem to happen in X11.

dolfandringa avatar Jun 26 '23 15:06 dolfandringa

I'm experiencing this issue as well. Disabling the Wayland checkbox and selecting the option for my monitor under Capture on the iPad seemed to fix it for me. I'm running Ubuntu 22.04 LTS.

nfoert avatar Sep 24 '23 16:09 nfoert

Unfortunately for me showing a specific monitor turns the video black. So the input works correctly at that point, but I have no video on my tablet, making it really hard to really draw at the right location.

dolfandringa avatar Sep 29 '23 03:09 dolfandringa