]> Dogcows Code - chaz/openbox/commitdiff
add a check for ShapeBounding shape events
authorDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 06:37:02 +0000 (06:37 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 06:37:02 +0000 (06:37 +0000)
src/client.cc

index 72a98afbf7338f4602494380ac214abbb525683e..70673c50ce53ab1884ed88db2cbd3bbc34fab1dd 100644 (file)
@@ -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
 
This page took 0.024489 seconds and 4 git commands to generate.