]> Dogcows Code - chaz/openbox/commitdiff
dont set dirty if not resizing
authorDana Jansens <danakj@orodu.net>
Fri, 15 Nov 2002 03:31:15 +0000 (03:31 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 15 Nov 2002 03:31:15 +0000 (03:31 +0000)
otk/widget.cc

index 6601916f88d8036a1bb79665e922ed6c0bb7c03d..d375a918af89c7f8ede5ca11e2fd57fd8dada75c 100644 (file)
@@ -414,7 +414,8 @@ bool OtkWidget::configure(const XConfigureEvent &e)
       _ignore_config--;
     } else {
       std::cout << "configure\n";
-      _dirty = true;
+      if (!(e.width == width() && e.height == height()))
+        _dirty = true;
       _rect.setRect(e.x, e.y, e.width, e.height);
       update();
     }
This page took 0.024164 seconds and 4 git commands to generate.