summaryrefslogtreecommitdiff
path: root/gdk/gdkcairo.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-07-18 15:03:42 +0200
committerAlexander Larsson <alex@localhost.localdomain>2009-04-02 10:14:01 +0200
commiteabac453e652d5aa2e535d957057f9c84803eea9 (patch)
tree963368271158f24a17f58f67bfdd8b0bedbb2c07 /gdk/gdkcairo.c
parente2a2ba9d9889ba96059bc1c2c141088a1baeecd3 (diff)
downloadgtk+-eabac453e652d5aa2e535d957057f9c84803eea9.tar.gz
Initial client-side-windows work
The history before this was kind of twisted as several different approaches were tested, so that was all squashed into this initial commit to hide the uninteresting changes and files that were later removed.
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r--gdk/gdkcairo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index 6e83f53a37..9d3ce2d649 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -50,6 +50,10 @@ gdk_cairo_create (GdkDrawable *drawable)
surface = _gdk_drawable_ref_cairo_surface (drawable);
cr = cairo_create (surface);
+
+ if (GDK_DRAWABLE_GET_CLASS (drawable)->set_cairo_clip)
+ GDK_DRAWABLE_GET_CLASS (drawable)->set_cairo_clip (drawable, cr);
+
cairo_surface_destroy (surface);
return cr;