Weylus
Weylus copied to clipboard
Wayland with dual screens causes input to be relative to both monitors
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.
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.
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.