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:
0856b11
)
only do shit if the size changed
author
Dana Jansens
<danakj@orodu.net>
Fri, 15 Nov 2002 03:11:35 +0000
(
03:11
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 15 Nov 2002 03:11:35 +0000
(
03:11
+0000)
otk/button.cc
patch
|
blob
|
history
diff --git
a/otk/button.cc
b/otk/button.cc
index 410f00838bcf37eb7179ad0e8b978a4e15855eaa..e93762ec678f88736fc453e250f140f35f320d36 100644
(file)
--- a/
otk/button.cc
+++ b/
otk/button.cc
@@
-74,7
+74,8
@@
bool OtkButton::expose(const XExposeEvent &e)
bool OtkButton::configure(const XConfigureEvent &e)
{
- _dirty = true;
+ if (!(e.width == width() && e.height == height()))
+ _dirty = true;
return OtkFocusWidget::configure(e);
}