[gtk+/gtk-2-18] Set colormap of offscreen pixmaps



commit 141716164a16f05cac898962e5cfa96fb24b2ed2
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 8 09:58:23 2009 -0500

    Set colormap of offscreen pixmaps
    
    This fixes problems in clutter-gtk. See bug 603619.

 gdk/gdkoffscreenwindow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index 76d9015..dcba0a1 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -659,6 +659,7 @@ _gdk_offscreen_window_new (GdkWindow     *window,
 				      private->width,
 				      private->height,
 				      private->depth);
+  gdk_drawable_set_colormap (offscreen->pixmap, offscreen->colormap);
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]