summaryrefslogtreecommitdiff
path: root/otk/button.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-15 02:40:57 +0000
committerDana Jansens <danakj@orodu.net>2002-11-15 02:40:57 +0000
commit6d68ac2256dc212dc0f2dd8a15d013d6ce3fc4b8 (patch)
tree77b56dc9bc0cf00c8f6cd2d1bea9e8fb68ab15de /otk/button.cc
parentb7dba88a0addfa232781427891b615a6bc3147c6 (diff)
smarter expose. stop when the window is found
Diffstat (limited to 'otk/button.cc')
-rw-r--r--otk/button.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/button.cc b/otk/button.cc
index 9d6c43b1..150e32d9 100644
--- a/otk/button.cc
+++ b/otk/button.cc
@@ -65,10 +65,10 @@ void OtkButton::update(void)
OtkFocusWidget::update();
}
-void OtkButton::expose(const XExposeEvent &e)
+bool OtkButton::expose(const XExposeEvent &e)
{
_dirty = true;
- OtkFocusWidget::expose(e);
+ return OtkFocusWidget::expose(e);
}
}