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

Hans de Goede hdegoede at redhat.com
Mon Jun 8 15:18:57 GMT 2020


Hi,

Note this is a resend since my first submission was ignored. This patch
makes virtualbox work much better (things like alt+tab will work in the VM)
when run inside a Wayland session. Can we please get this merged?

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.

Regards,

Hans

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


More information about the vbox-dev mailing list