[gtk+/client-side-windows: 38/284] Ensure native window if composite requested
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 38/284] Ensure native window if composite requested
- Date: Thu, 2 Apr 2009 14:02:54 -0400 (EDT)
commit 191e8d1587249374a5e58e8f302dbf704264ddae
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 8 12:51:19 2008 +0100
Ensure native window if composite requested
---
gdk/gdkwindow.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index bb6aecd..6a82544 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]