From 191e8d1587249374a5e58e8f302dbf704264ddae Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 8 Dec 2008 12:51:19 +0100 Subject: [PATCH] Ensure native window if composite requested --- gdk/gdkwindow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index bb6aecd515..6a82544e5c 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -6200,6 +6200,9 @@ gdk_window_set_composited (GdkWindow *window, if (private->composited == composited) return; + if (composited) + gdk_window_set_has_native (window, TRUE); + display = gdk_drawable_get_display (GDK_DRAWABLE (window)); if (!gdk_display_supports_composite (display) && composited)