diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-05 05:48:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-05 05:48:01 +0000 |
| commit | a612136ba51c87014e4fba0167aad77bbfdaa753 (patch) | |
| tree | 379e76b7458164da4eedb1c1766d44bad8657c87 /otk/focuswidget.cc | |
| parent | 3b5d2d1bdecaa1962ca80299410d778590e18731 (diff) | |
various fixes to the otk widgets
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) |
