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