projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e87b3
)
use the current size, which will get capped by max/mins
author
Dana Jansens
<danakj@orodu.net>
Sun, 16 Feb 2003 11:48:43 +0000
(11:48 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Feb 2003 11:48:43 +0000
(11:48 +0000)
otk/widget.cc
patch
|
blob
|
history
diff --git
a/otk/widget.cc
b/otk/widget.cc
index 46b50cab0af4bc74e5d15fe5252e9da1c735418b..30d147c8387953b61f55cbc095bac4d442f22e79 100644
(file)
--- 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();