From b0c40f37282035c253250fa82eaba8eeafb8e597 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 2 Apr 2017 19:20:23 +0200 Subject: [PATCH] Apply combined shape mask correctly This only broke windows that use ShapeInput and don't hide their window decorations, which is a fairly small set. --- openbox/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/frame.c b/openbox/frame.c index 89669726..fecac586 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -318,7 +318,7 @@ void frame_adjust_shape_kind(ObFrame *self, int kind) } XShapeCombineRectangles(obt_display, self->window, - ShapeBounding, 0, 0, xrect, num, + kind, 0, 0, xrect, num, ShapeUnion, Unsorted); } } -- 2.34.1