add a check for ShapeBounding shape events
This commit is contained in:
parent
6c3aec9e09
commit
7ca4d1cf8a
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue