On Windows, we need to update the cursor clip region. Call ungrab&grab
to update it.
---
 gtk/spice-widget.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index 25c2e09..42da4bc 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -1374,6 +1374,10 @@ static gboolean configure_event(GtkWidget *widget, 
GdkEventConfigure *conf)
         d->wh = conf->height;
         recalc_geometry(widget);
     }
+
+    try_mouse_ungrab(display);
+    try_mouse_grab(display);
+
     return true;
 }
 
-- 
1.7.11.7

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to