[PATCH] Introduce keyboard grabbing protocol

Constantine Kharlamov hi-angel at ya.ru
Thu Sep 1 05:51:01 UTC 2016


01.09.2016, 02:22, "Carsten Haitzler (The Rasterman)" <raster at rasterman.com>:
> if the vm decides that as a result of the grab error it will exit... who do
> you blame? compositor that is saying "no" and tell it to always say yes... or
> the app that chooses to take this as a fatal condition and exit? :)

I understand, it was a rhetoric question, but anyway… VM just shouldn't know
that it couldn't grab keys of a compositor. The user would know that because of
notification, so it's fine.

Alternatively, it's possible to leave keys working in a compositor and pass
them to VM at the same time. I.e. this is how it worked in the ancient
Awesome-3.4.14, which I mentioned: upon pressing "Super+1" I was, both,
switched to 1-st desktop, and getting a popup of Start menu in the VM with XP.
Though it was annoying a bit either, so I end up disabling Super key in the
guest system, but it's a viable alternative.


More information about the wayland-devel mailing list