From 5a71f5b094b5f7b9f56f0ad4bf28ab978a42af63 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Nov 2002 03:11:35 +0000 Subject: [PATCH] only do shit if the size changed --- otk/button.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/otk/button.cc b/otk/button.cc index 410f0083..e93762ec 100644 --- 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); } -- 2.45.2