From: Dana Jansens Date: Tue, 7 Jan 2003 06:37:02 +0000 (+0000) Subject: add a check for ShapeBounding shape events X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7ca4d1cf8a1fd3b414219c77a57fff7d333f5e7f;p=chaz%2Fopenbox add a check for ShapeBounding shape events --- 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