]> Dogcows Code - chaz/openbox/blobdiff - otk/focuswidget.cc
dont make wrap a subdir of otk
[chaz/openbox] / otk / focuswidget.cc
index 12b872c4a32d3267b8b91afb5099befc2506bd61..b8e18d7875596580749836939224880293765bd4 100644 (file)
@@ -20,7 +20,7 @@ FocusWidget::~FocusWidget()
 {
 }
 
-#include <stdio.h>
+
 void FocusWidget::focus(void)
 {
   if (_focused)
@@ -53,6 +53,8 @@ void FocusWidget::setTexture(RenderTexture *texture)
 {
   Widget::setTexture(texture);
   _focus_texture = texture;
+  if (!_focused)
+    Widget::setTexture(_unfocus_texture);
 }
 
 void FocusWidget::setBorderColor(const RenderColor *color)
This page took 0.022855 seconds and 4 git commands to generate.