Apply combined shape mask correctly
[mikachu/openbox.git] / openbox / frame.c
index 22249a5..5b695f7 100644 (file)
@@ -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);
     }
 }