From: Dana Jansens Date: Sun, 16 Feb 2003 11:48:43 +0000 (+0000) Subject: use the current size, which will get capped by max/mins X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f325abe4e454f3c413ad91e6145b8a8c458c8758;p=chaz%2Fopenbox use the current size, which will get capped by max/mins --- diff --git a/otk/widget.cc b/otk/widget.cc index 46b50cab..30d147c8 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -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();