Page 1 of 1

DDNet not grabbing touchpad/mouse pointer (Linux)

Posted: Thu Oct 13, 2016 12:55 pm
by rafaelff
I recently updated my GNOME desktop environment to version 3.22 among another dependencies, which might be related to this issue. I don't know what is the direct cause or what is the application directly involved.

Now, DDNet Client is not grabbing both touchpad and mouse pointers, so the pointer won't even be displayed in the game's GUI. Even though I don't see the pointer, I notice this: when I click inside the DDNet window in the screen area, nothing happen; when I click outside the DDNet window, it focus on another application.

This doesn't seem to be related to DDNet version, as I downgraded from 10.3.2 to older versions and this issue still happens.

Environment: Arch Linux 64-bit, GNOME 3.22.1, DDNet 10.3.2 (EDIT: Wayland windowing system)

Ideas? Help?

Re: DDNet not grabbing touchpad/mouse pointer (Linux)

Posted: Thu Oct 13, 2016 2:43 pm
by deen
inp_grab 1

Re: DDNet not grabbing touchpad/mouse pointer (Linux)

Posted: Sat Oct 15, 2016 12:23 pm
by rafaelff
set it to 1, but nothing changed.

Re: DDNet not grabbing touchpad/mouse pointer (Linux)

Posted: Sun Oct 16, 2016 11:21 pm
by rafaelff
It seems this is happening only when starting gnome-session in Wayland, which is now the default in GNOME 3.22; DDNet works just fine when in Xorg option.

Re: DDNet not grabbing touchpad/mouse pointer (Linux)

Posted: Mon Oct 17, 2016 10:27 am
by deen
Oh, wayland. Try updating SDL2, otherwise no idea. If you find out the reason, make a PR please. More people will run into this soon probably.