[metacity] Fix XShape



commit 2b1c6443dbe147e9969f619c47084f177e35a873
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed May 25 20:47:53 2011 -0400

    Fix XShape
    
    Commit c3a04bf unintentionally broke XShape handling. By studying the code
    extremely carefully, I found this inconsistency with the code that was
    there before.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=635268

 src/ui/frames.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 61397ea..b9594ea 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -863,7 +863,7 @@ apply_cairo_region_to_window (Display        *display,
 
   XShapeCombineRectangles (display, xwindow,
                            ShapeBounding, 0, 0, rects, n_rects,
-                           ShapeSet, YXBanded);
+                           op, YXBanded);
 
   g_free (rects);
 }


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