Show Your Support: Have you heard of Phoronix Premium? It's what complements advertisements on this site for our premium ad-free service. For less than $4 USD per month, you can help support our site while the funds generated allow us to keep doing Linux hardware reviews, performance benchmarking, maintain our community forums, and much more.
Keyboard Grabbing Protocol Proposed For 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.