[Spice-devel] [PATCH spice-gtk] widget: Fix rendering issues with CSD on Windows
Pavel Grunt
pgrunt at redhat.com
Fri Aug 12 21:38:01 UTC 2016
Replace GDK_WINDOW_HWND by gdk_win32_window_get_impl_hwnd() which gets
the HWND directly, without any side effects.
Related:
https://bugzilla.redhat.com/show_bug.cgi?id=1352216
---
src/spice-widget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spice-widget.c b/src/spice-widget.c
index 7c1c756..ae56d1b 100644
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -1417,7 +1417,7 @@ static gboolean check_for_grab_key_released(SpiceDisplay *display, int type, int
static void update_display(SpiceDisplay *display)
{
#ifdef G_OS_WIN32
- win32_window = display ? GDK_WINDOW_HWND(gtk_widget_get_window(GTK_WIDGET(display))) : NULL;
+ win32_window = display ? gdk_win32_window_get_impl_hwnd(gtk_widget_get_window(GTK_WIDGET(display))) : NULL;
#endif
}
--
2.9.2
More information about the Spice-devel
mailing list