From a612136ba51c87014e4fba0167aad77bbfdaa753 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 5 Feb 2003 05:48:01 +0000 Subject: various fixes to the otk widgets --- otk/focuswidget.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'otk/focuswidget.cc') diff --git a/otk/focuswidget.cc b/otk/focuswidget.cc index e3973dc2..b8e18d78 100644 --- a/otk/focuswidget.cc +++ b/otk/focuswidget.cc @@ -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) -- cgit v1.2.3