On Thu, Sep 26, 2013 at 08:25:28PM +0200, Marc-André Lureau wrote: > Since 5f67178c, alt-tab is no longer grabbed by the client. The keyboard > hook still needs to handle WM_SYSKEY{DOWN,UP} messages. ACK. > > https://bugzilla.redhat.com/show_bug.cgi?id=873341 > --- > gtk/spice-widget.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c > index 4ac1a2f..d39ff59 100644 > --- a/gtk/spice-widget.c > +++ b/gtk/spice-widget.c > @@ -659,7 +659,7 @@ void spice_display_set_grab_keys(SpiceDisplay *display, SpiceGrabSequence *seq) > #ifdef WIN32 > static LRESULT CALLBACK keyboard_hook_cb(int code, WPARAM wparam, LPARAM lparam) > { > - if (win32_window && code == HC_ACTION && wparam == WM_KEYDOWN) { > + if (win32_window && code == HC_ACTION && wparam != WM_KEYUP) { > KBDLLHOOKSTRUCT *hooked = (KBDLLHOOKSTRUCT*)lparam; > DWORD dwmsg = (hooked->flags << 24) | (hooked->scanCode << 16) | 1; > > -- > 1.8.3.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
pgpPPHXW4Wi6e.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel