]> Dogcows Code - chaz/openbox/commitdiff
use the current size, which will get capped by max/mins
authorDana Jansens <danakj@orodu.net>
Sun, 16 Feb 2003 11:48:43 +0000 (11:48 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Feb 2003 11:48:43 +0000 (11:48 +0000)
otk/widget.cc

index 46b50cab0af4bc74e5d15fe5252e9da1c735418b..30d147c8387953b61f55cbc095bac4d442f22e79 100644 (file)
@@ -89,7 +89,7 @@ void Widget::show(bool children)
     _visible = true;
     if (_parent) _parent->calcDefaultSizes();
     else {
-      resize(_min_size);
+      resize(_area.size());
     }
     XMapWindow(**display, _window);
     update();
This page took 0.027507 seconds and 4 git commands to generate.