From 8735c12d9633738a5150c451457471d797fa9bf1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 4 Jan 2003 07:04:23 +0000 Subject: shape works again. updating the delete_window protocol update the decor. --- src/frame.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frame.cc') 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); -- cgit v1.2.3