X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fframe.cc;h=0cc96c2a6e401272ce062fdb1d1f9b9a4efb2831;hb=8735c12d9633738a5150c451457471d797fa9bf1;hp=7a99f9a06e20652e2612eae73c81c4f3d88094e6;hpb=7ec03b895e746bcf165dacd9141b981bd762cc2d;p=chaz%2Fopenbox diff --git a/src/frame.cc b/src/frame.cc index 7a99f9a0..0cc96c2a 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -364,13 +364,13 @@ void OBFrame::adjustShape() if (!_client->shaped()) { // clear the shape on the frame window - XShapeCombineMask(otk::OBDisplay::display, window(), ShapeBounding, + XShapeCombineMask(otk::OBDisplay::display, _window, ShapeBounding, _innersize.left, _innersize.top, None, ShapeSet); } else { // make the frame's shape match the clients - XShapeCombineShape(otk::OBDisplay::display, window(), ShapeBounding, + XShapeCombineShape(otk::OBDisplay::display, _window, ShapeBounding, _innersize.left, _innersize.top, _client->window(), ShapeBounding, ShapeSet);