diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-17 07:10:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-17 07:10:52 +0000 |
| commit | 940247c3e5639751e6bd5de0fab27af17a889d25 (patch) | |
| tree | 6df301e4afb2fee2d925138199d008640345eba9 /src/frame.cc | |
| parent | 5cc40ecc8f4ae3c875d61b3e844c22c89c019c58 (diff) | |
make window placement not go off screen at all
Diffstat (limited to 'src/frame.cc')
| -rw-r--r-- | src/frame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.cc b/src/frame.cc index e85ff345..9606c420 100644 --- a/src/frame.cc +++ b/src/frame.cc @@ -75,12 +75,12 @@ void Frame::setStyle(otk::Style *style) { assert(style); - otk::Widget::setStyle(style); - // if a style was previously set, then 'replace' is true, cause we're // replacing a style bool replace = (_style); + otk::Widget::setStyle(style); + if (replace) { // XXX: do shit here whatever } |
