From 7ca4d1cf8a1fd3b414219c77a57fff7d333f5e7f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 06:37:02 +0000 Subject: [PATCH] add a check for ShapeBounding shape events --- src/client.cc | 8 +++++--- 1 file 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 -- 2.45.2