7/15/2026 at 11:17:52 AM
Slightly related. On wayland based linux desktops this would never work because an app is not allowed to hijack the mouse pointer to dispatch events. I believe only the compositor is allowed to do that.I know, because I wanted to automate a GUI task using PyAutoGUI and it wouldnt work on wayland no matter what.
by AyanamiKaine
7/15/2026 at 11:49:13 AM
This is why I'm still on X11, the lack of deep level accessibility/automation is still a big hurdle when it comes to Wayland.by KetoManx64
7/15/2026 at 12:59:09 PM
Yea, one way I saw you can circumvent it is by running in xwayland mode. But that can come with its own problems.by AyanamiKaine
7/15/2026 at 12:04:39 PM
Actual problem on Wayland is that it often doesn't work when you are trying to click somewhere in the menu - for the mouse clicking app to read keyboard input, it must take focus away from the app where the click should go. And some toolkits just close menus on focus loss.I personally use wl-kbptr, and the problem above is the only one that can't be solved without explicit support from the compositor.
by binarin
7/15/2026 at 12:49:00 PM
What about wp_pointer_warp_v1? That should be supported in some compositors. But not sure how to actually "send" the click event.I often try a session with Labwc/LxQt instead of my Openbox/LxQt, and while there is progress, still not fully usable, so still no Wayland for me. But with X11, I can at least add xvfb, xdotool, and other utils, and AI has no problem writing (and testing) a GUI for me.
by gen2brain
7/15/2026 at 12:56:51 PM
Oh wp_pointer_warp_v1 works fine when you want to move the cursor that is not a problem. One application can simply say move the mouse to a different window but it cannot say click.So in the sense as far as I understand it is that in wayland one application is not allowed to use the input of IO devices to interact with other applications.
by AyanamiKaine
7/15/2026 at 1:04:28 PM
So, "security" strikes again. Windows shell not be moved, pointers shell not be clicked, but you can move the mouse if you want to.by gen2brain
7/15/2026 at 11:30:28 AM
There is mouseless that seems to work on waylandby Fire-Dragon-DoL
7/15/2026 at 12:54:57 PM
But only if you "disable Wayland’s extra restrictions around keyboard/mouse access for Mouseless to work". [0]by AyanamiKaine
7/15/2026 at 12:00:47 PM
That is an option, but it's not free.by kreelman
7/15/2026 at 11:27:39 AM
I wonder if blender works on wayland, because it has a feature that makes the mouse cursor "loop" across the window if you are dragging something.by AlienRobot
7/15/2026 at 12:58:07 PM
That features works completly fine when I use Blender(5.2) and wayland cant say if older versions might not work.by AyanamiKaine
7/15/2026 at 12:53:02 PM
The protocol for this has recently been accepted, now it has to be implemented by every compositorby jcelerier
7/15/2026 at 3:41:21 PM
That sounds like hell. All this just to set the X, Y of the mouse pointer?by AlienRobot
7/15/2026 at 3:48:38 PM
> That sounds like hell.Wayland isn't an eternal punishment, it's just a protocol. :p
by toast0