From a504e872172b6c6bbb8101f4c2222d64862214d0 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 2 Apr 2017 19:20:23 +0200 Subject: [PATCH 1/1] 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 22249a5..5b695f7 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -319,7 +319,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); } } -- 1.9.1