summaryrefslogtreecommitdiff
path: root/src/ui/frames.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-22 07:55:57 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commit478b2c78379c56dade8e59b342c5fa6344f33314 (patch)
tree1354fc4dd610606027509b13fdb651a8c14573ac /src/ui/frames.c
parent1a8059915b74ee8aea55b6a82ea18c09af6d0018 (diff)
downloadmarco-478b2c78379c56dade8e59b342c5fa6344f33314.tar.bz2
marco-478b2c78379c56dade8e59b342c5fa6344f33314.tar.xz
Fix XShape
Commit https://gitlab.gnome.org/GNOME/metacity/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 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/2b1c6443
Diffstat (limited to 'src/ui/frames.c')
-rw-r--r--src/ui/frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 1aefa4b7..e475cba1 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -833,7 +833,7 @@ apply_cairo_region_to_window (Display *display,
XShapeCombineRectangles (display, xwindow,
ShapeBounding, 0, 0, rects, n_rects,
- ShapeSet, YXBanded);
+ op, YXBanded);
g_free (rects);
}