[gtk+] gskrendernode: Fix inset shadow drawing



commit 9a43881a19200789b96b3e318204ab02eaf6328e
Author: Timm Bäder <mail baedert org>
Date:   Mon Aug 28 17:48:25 2017 +0200

    gskrendernode: Fix inset shadow drawing

 gsk/gskrendernodeimpl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index 4ecd0af..cbdcb8f 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -855,7 +855,7 @@ draw_shadow (cairo_t             *cr,
   cairo_set_fill_rule (shadow_cr, CAIRO_FILL_RULE_EVEN_ODD);
   gsk_rounded_rect_path (box, shadow_cr);
   if (inset)
-    cairo_rectangle (cr,
+    cairo_rectangle (shadow_cr,
                      clip_box->bounds.origin.x, clip_box->bounds.origin.y,
                      clip_box->bounds.size.width, clip_box->bounds.size.height);
 


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