From ef1606604cfa508acacc405795ebc6df995a78a7 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 28 Jan 2011 15:45:16 +0100 Subject: [PATCH] x11: Use Window instead of GdkNativeWindow --- gdk/x11/gdkscreen-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c index 8735dd2280..e5cc2aedf2 100644 --- a/gdk/x11/gdkscreen-x11.c +++ b/gdk/x11/gdkscreen-x11.c @@ -1019,12 +1019,12 @@ gdk_x11_screen_get_active_window (GdkScreen *screen) { if ((type_return == XA_WINDOW) && (format_return == 32) && (data)) { - GdkNativeWindow window = *(GdkNativeWindow *) data; + Window window = *(Window *) data; if (window != None) { ret = gdk_x11_window_foreign_new_for_display (x11_screen->display, - *(Window *) data); + window); } } }