diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-07 06:37:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-07 06:37:02 +0000 |
| commit | 7ca4d1cf8a1fd3b414219c77a57fff7d333f5e7f (patch) | |
| tree | 9d4aef05ee87b9f917164d41277ec245c3947d2f /src | |
| parent | 6c3aec9e0996d2957855c188b5ff60bf4bc628fa (diff) | |
add a check for ShapeBounding shape events
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client.cc b/src/client.cc index 72a98afb..70673c50 100644 --- a/src/client.cc +++ b/src/client.cc @@ -921,9 +921,11 @@ void OBClient::clientMessageHandler(const XClientMessageEvent &e) 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 |
