GNOME's Mutter Now Supports XWayland Keyboard Grabbing, XDG-Output

Written by Michael Larabel in GNOME on 18 December 2017 at 09:09 AM EST. 7 Comments
GNOME
More (X)Wayland improvements are en route for GNOME 3.28.

The latest addition to the Mutter Wayland compositor is now handling XWayland keyboard grab support so an XWayland/X11 client can exclusively grab the keyboard input. And as part of that a new setting for controlling if XWayland clients can do keyboard grabs.

As can be seen from this lengthy bug report tracking GNOME's work on XWayland keyboard grabs and shortcut inhibitor support, this work has been big and a long time coming. XWayland keyboard grabs can be important for virtual machines and potentially some games too.

This is the GNOME-side for the XWayland keyboard grabbing support while already were the changes to the X Server / XWayland code. Since 2016 has also been the native Wayland protocol for keyboard grabs.

Separately, over the weekend Mutter also received XDG-Output support. The XDG-Output protocol is used for better describing desktop outputs/displays. This XDG-Output support should also be useful to XWayland clients.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week