projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b7421
)
better fix for configure
author
Dana Jansens
<danakj@orodu.net>
Fri, 15 Nov 2002 05:07:32 +0000
(
05:07
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 15 Nov 2002 05:07:32 +0000
(
05:07
+0000)
otk/widget.cc
patch
|
blob
|
history
diff --git
a/otk/widget.cc
b/otk/widget.cc
index 64277e709812724182f3f82fb9b1e6228831f24c..96d958cb84a71b0f9735469c9e25d9bb4a9e7fc6 100644
(file)
--- a/
otk/widget.cc
+++ b/
otk/widget.cc
@@
-414,9
+414,10
@@
bool OtkWidget::configure(const XConfigureEvent &e)
_ignore_config--;
} else {
std::cout << "configure\n";
- if (!(e.width == _rect.width() && e.height == _rect.height()))
+ if (!(e.width == _rect.width() && e.height == _rect.height()))
{
_dirty = true;
- _rect.setRect(_rect.x(), _rect.y(), e.width, e.height);
+ _rect.setSize(e.width, e.height);
+ }
update();
}
return true;