]> Dogcows Code - chaz/openbox/blobdiff - otk/focuslabel.cc
print a warning if more than one main widget is set
[chaz/openbox] / otk / focuslabel.cc
index ea5ecfc23ad2aea2b089f710cf2ab3f2e5ce9065..ea4e9ca20e7a88ab0c5dd8bc7d4d0fd8a2afd5b2 100644 (file)
@@ -3,7 +3,7 @@
 namespace otk {
 
 OtkFocusLabel::OtkFocusLabel(OtkWidget *parent)
-  : OtkFocusWidget(parent), _text(""), _dirty(false)
+  : OtkFocusWidget(parent), _text("")
 {
   setTexture(getStyle()->getLabelFocus());
   setUnfocusTexture(getStyle()->getLabelUnfocus());
@@ -55,21 +55,6 @@ void OtkFocusLabel::update(void)
     ft.drawString(getWindow(), x, bevel, *text_color, t);
   } else
     OtkFocusWidget::update();
-
-  _dirty = false;
-}
-
-int OtkFocusLabel::exposeHandler(const XExposeEvent &e)
-{
-  _dirty = true;
-  return OtkFocusWidget::exposeHandler(e);
-}
-
-int OtkFocusLabel::configureHandler(const XConfigureEvent &e)
-{
-  if (!(e.width == width() && e.height == height()))
-    _dirty = true;
-  return OtkFocusWidget::configureHandler(e);
 }
 
 }
This page took 0.02216 seconds and 4 git commands to generate.