From: Mikael Magnusson Date: Sun, 2 Apr 2017 17:20:23 +0000 (+0200) Subject: Apply combined shape mask correctly X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b0c40f37282035c253250fa82eaba8eeafb8e597;p=mikachu%2Fopenbox.git 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. --- 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); } }