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

@ -921,9 +921,11 @@ void OBClient::clientMessageHandler(const XClientMessageEvent &e)
void OBClient::shapeHandler(const XShapeEvent &e) void OBClient::shapeHandler(const XShapeEvent &e)
{ {
otk::OtkEventHandler::shapeHandler(e); otk::OtkEventHandler::shapeHandler(e);
_shaped = e.shaped; if (e.kind == ShapeBounding) {
frame->adjustShape(); _shaped = e.shaped;
frame->adjustShape();
}
} }
#endif #endif