Keyboard Grabbing Protocol Proposed For Wayland

Written by Michael Larabel in Wayland on 30 August 2016 at 08:03 AM EDT. 16 Comments
WAYLAND
Red Hat developer Olivier Fourdan has proposed adding a keyboard grabbing protocol to Wayland.

The use-case for this keyboard grabbing protocol is virtual machines or remote connection viewers (e.g. VNC viewer) and even XWayland. Olivier described, "The compositor may inform and ask the user if (s)he agrees with a given applications grabbing the keyboard, might put in place a visual indication that a grab is in effect, even allow the user to terminate the grab whenever (s)he wants, etc. This is all up to the compositor and the user to decide. I modelled this protocol after the keyboard locking mechanism but did not keep the lifetime parameter, to keep things as simple as possible."

This keyboard grabbing protocol would basically forward all keyboard events to a particular Wayland surface. Developers and interested Wayland fans can learn more details about this proposal via the Wayland mailing list.
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