[Wayland-bugs] [Bug 107358] When I launching the game "A Story of a Band" mouse control stop working in all XWayland applications

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 25 14:08:23 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107358

--- Comment #6 from Olivier Fourdan <fourdan at xfce.org> ---
Created attachment 140812
  --> https://bugs.freedesktop.org/attachment.cgi?id=140812&action=edit
Simple repruder showing normal behavior with grabs

(In reply to mikhail.v.gavrilov from comment #5)
> yes of course
> Mouse control not available only at a time when the game is running.

Then it's just that the games issues an grab on the pointer...

Xwayland is a Wayland client but also an Xserver, which behaves like any other
Xserver for the X11 clients, so if a client (the game) issues an acive pointer
grab on the pointer, no other X11 cleitns will receive pointer events, that's
the purpose of a grab.

However, ther eis no active grabs in Wayland, so other Wayland native clients
are not affected by the X11 grab issued by the X11 cleints, which matches
exactly what you describe.

To demonstrate that, I attached a very simple reproducer written in gtk2.

If you compile and run that reproducer on Wayland/Xwayland, it will bejave the
same, no other X11 client wil lreceive pointer events as long as the client is
running, whereas other Wayland native clients will remain unaffected.

In other words, this is normal.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180725/2860cf5e/attachment.html>


More information about the wayland-bugs mailing list