add a check for ShapeBounding shape events
Dana Jansens danakj@orodu.net
1 files changed,
5 insertions(+),
3 deletions(-)
jump to
M
src/client.cc
→
src/client.cc
@@ -921,9 +921,11 @@ #if defined(SHAPE)
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