[vbox-dev] [PATCH] Fix shortcuts like alt-tab not working under [X]wayland

Hans de Goede hdegoede at redhat.com
Tue Apr 7 12:03:44 GMT 2020


The attached patch tackles a long-standing issue when running VirtualBox
under [X]wayland. By default keyboard-grabs are denied to X11 apps under
Xwayland, this causes e.g. alt-tab to not be send to the VM, but to go
to the host window-environment.

The attached patch modifies VirtualBox to send a special ClientMessage
which lets mutter knows that VirtualBox works properly with emulated
grabs and that they should be allowed.

As usual, the patch is released under the MIT license.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: VirtualBox-6.1.4-Xwayland-shortcut-inhibit.patch
Type: text/x-patch
Size: 2725 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20200407/d8bed642/attachment.bin>

More information about the vbox-dev mailing list