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

Frank Batschulat frank.batschulat at oracle.com
Wed Jun 10 07:14:06 GMT 2020


FYI, this has been fixed in Trunk revision r138534 and has been backported
to 6.1.X revision r138535 and will be included in the next releases.

The fix is already included in the test builds for Trunk and 6.1.X
containing above revisions:

https://www.virtualbox.org/wiki/Testbuilds


On Tue, 09 Jun 2020 14:14:20 +0200, Frank Batschulat  
<frank.batschulat at oracle.com> wrote:

> Thanks Hans, I have filed the following bug for tracking this and I will
> see I test it and merge it asap into Trunk and backport to 6.1.X
>
> Ticket #19650 XWayland: Fix shortcuts like alt-tab not working under  
> [X]wayland
> https://www.virtualbox.org/ticket/19650
>
> cheers
> frankB
>
> On Mon, 08 Jun 2020 17:18:57 +0200, Hans de Goede <hdegoede at redhat.com>  
> wrote:
>
>> 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
>>
>
>


-- 
frankB

Oracle Virtualbox Development



More information about the vbox-dev mailing list