Re: can spice-gtk intercept specified key-combination from guest os?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Mensaje original -----
> My desktop has 3 workspaces.
> I want to make my windowsXP virtual machine show in fullscreen mode and
> occupy the whole 3rd workspace.
> Then I can use Ctrl+Alt+Left and Ctrl+Alt+Right to switch between linux and
> windows environment.
> 
> But I think when the fullscreen VM window is in focus, all the key event will
> go to VM window.
> So window manager won't receive Ctrl+Alt+Left, and the workspace switch won't
> happen.
> 
> I'm wondering, can I configure qemu or spice-gtk not to process some
> specified key-combination, so it can get to window manager?
> Or is there any other way?
> 
> My original question post:
> http://forums.gentoo.org/viewtopic-t-959422-highlight-.html

There is no arbitrary binding support in spice-gtk. It looks like you want to force window manager keybindings, even if the client has the keyboard grab. This might be overridable at WM level, but this is a wild guess.

>From the client application, I would recommend using a gtkeventbox. It receives and pass-through all key and mouse events, which you can filter. This is the approach taken in GNOME Boxes.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]