add a check for ShapeBounding shape events

This commit is contained in:
Dana Jansens 2003-01-07 06:37:02 +00:00
parent 6c3aec9e09
commit 7ca4d1cf8a

View file

@ -922,8 +922,10 @@ void OBClient::shapeHandler(const XShapeEvent &e)
{
otk::OtkEventHandler::shapeHandler(e);
_shaped = e.shaped;
frame->adjustShape();
if (e.kind == ShapeBounding) {
_shaped = e.shaped;
frame->adjustShape();
}
}
#endif