Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No pointer warping in acme after upgrade to Ubuntu 21.04 #515

Open
ebengt opened this issue Aug 12, 2021 · 3 comments
Open

No pointer warping in acme after upgrade to Ubuntu 21.04 #515

ebengt opened this issue Aug 12, 2021 · 3 comments

Comments

@ebengt
Copy link

ebengt commented Aug 12, 2021

Greetings,

Can I get B3 to warp the pointer in acme when using Wayland?

After upgrading to Ubuntu 21.04 and installing plan9port fresh from github(*) I no longer get pointer warping in acme with B3. It is likely related to Wayland. B3 warped the pointer when I had Ubuntu 20.10. That was with older plan9port(**), but the older acme got the same problem with new Ubuntu. Which is why I installed new plan9port.
Some kind of environment variable to set to tell Wayland to start warping pointers?

Focus is correctly moved with B3, it is only the pointer that remains. As soon as I move the pointer focus goes back to the pointer.

The windowing system for Ubuntu 21.04 is Wayland, but unfortunately I never checked what 20.10 had.
It is possible to change from Wayland to X. Then the pointer warp.
Gnome version is 3.38.5

(*)
git log says:
commit 70cc6e5 (HEAD -> master, origin/master, origin/HEAD)
Author: Anthony Sorace [email protected]
Date: Thu Apr 22 00:16:10 2021 -0700

libthread: use setpgid instead of setpgrp

(**)
commit 03a8ec7 (HEAD -> master)
Author: Xiao-Yong Jin [email protected]
Date: Tue Mar 27 10:52:45 2018 -0500

libdraw: fix error in the previous commit
@nvkv
Copy link

nvkv commented Oct 7, 2021

Same for me, a bit annoying. And it's definitely Wayland-related issue.

@lelysses
Copy link

lelysses commented Oct 7, 2021

Yeah, I'm sure it's Wayland. 21.04 is the first Ubuntu to default to Wayland. I've been having this the last year or so too but on NixOS using GNOME Wayland, so it's not Ubuntu-specific.

For what it's worth this is a duplicate of #294 but that was closed by the user who opened the issue after deciding to just switch back to X from Wayland.

@eaburns
Copy link
Contributor

eaburns commented Aug 22, 2024

I hit this issue too. I wrote a Wayland backend for devdraw that you can test out here if you are interested in giving it a try: https://github.com/eaburns/plan9port/tree/wayland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants