Bug#897980: chromium-bsu: on play mode, after the first left click, game loose focus of mouse

Paul Wise pabs at debian.org
Mon Sep 19 10:21:33 BST 2022


On Mon, 2022-09-19 at 12:14 +0900, Charles Plessy wrote:

> Unfortunately, the mouse movements are buggy, as sometimes they are
> transiently limited in the horizontal or vertical range of the screen
> that they can cover.

I hadn't noticed it that, but I can reproduce that currently.

> If the environment variable setting is the correct solution for this
> bug, how about changing `/usr/games/chromium-bsu/` to a script that
> checks for something like `$XDG_SESSION_TYPE == 'wayland'` and
> sets `SDL_VIDEODRIVER=wayland` accordingly if true ?

To be honest, I do not know if this is a bug in the game or in SDL or
in GNOME Wayland or Wayland libraries or something else so I am not
confident in applying this workaround.

If it does get added, I think I would do it in the upstream source,
before SDL gets initialised.

I'm asking folks on the #debian-games channel who use non-GNOME Wayland
to test and see if they have the same issue. Hopefully this can narrow
down where the bug might be.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20220919/ffa41d91/attachment.sig>


More information about the Pkg-games-devel mailing list