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:
bcb7ddd
)
use the rect
author
Dana Jansens
<danakj@orodu.net>
Fri, 15 Nov 2002 03:36:28 +0000
(
03:36
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 15 Nov 2002 03:36:28 +0000
(
03:36
+0000)
otk/widget.cc
patch
|
blob
|
history
diff --git
a/otk/widget.cc
b/otk/widget.cc
index d375a918af89c7f8ede5ca11e2fd57fd8dada75c..90ebf066bfa68702ea306b6d0b97c6fcdb1ce31a 100644
(file)
--- a/
otk/widget.cc
+++ b/
otk/widget.cc
@@
-414,7
+414,7
@@
bool OtkWidget::configure(const XConfigureEvent &e)
_ignore_config--;
} else {
std::cout << "configure\n";
- if (!(e.width ==
width() && e.height ==
height()))
+ if (!(e.width ==
_rect.width() && e.height == _rect.
height()))
_dirty = true;
_rect.setRect(e.x, e.y, e.width, e.height);
update();