X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.cc;h=0cc96c2a6e401272ce062fdb1d1f9b9a4efb2831;hb=58cd3958a331e55699b3c1f640c0d2da907cdf22;hp=7a99f9a06e20652e2612eae73c81c4f3d88094e6;hpb=dd7af2419a4e59f8048e74db775a1673b27bc708;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);