summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-16 11:48:43 +0000
committerDana Jansens <danakj@orodu.net>2003-02-16 11:48:43 +0000
commitf325abe4e454f3c413ad91e6145b8a8c458c8758 (patch)
treef67b8237b97a6038f8fd22941725a79a1735493e /otk
parent33e87b39697f507ac65a779861b641f96744ada0 (diff)
use the current size, which will get capped by max/mins
Diffstat (limited to 'otk')
-rw-r--r--otk/widget.cc2
1 files changed, 1 insertions, 1 deletions
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();