Re: [Spice-devel] [PATCH spice-gtk 2/3] win32: track current window handle

2012-11-13 Thread Christophe Fergeau
On Wed, Oct 31, 2012 at 04:51:04PM +0100, Marc-André Lureau wrote: > We need current window handle for the global keyboard hook. It is not > enough to rely on focus-in event to set it, so do it also in > key-event. This avoids extra warnings on Windows. Not really important, but I'm not sure why t

[Spice-devel] [PATCH spice-gtk 2/3] win32: track current window handle

2012-10-31 Thread Marc-André Lureau
We need current window handle for the global keyboard hook. It is not enough to rely on focus-in event to set it, so do it also in key-event. This avoids extra warnings on Windows. --- gtk/spice-widget.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a