diff options
Diffstat (limited to 'otk/focuswidget.cc')
| -rw-r--r-- | otk/focuswidget.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
