aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/ewindow.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-18 03:09:19 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-18 03:09:19 +0000
commit821099592d721f82eeb92c32c7e8e60847c37294 (patch)
tree88568007d8c88d7c2d754eef0d5560ec6578b871 /lib/gui/ewindow.cpp
parentbf7e40884d7add91e219e9e70e83988ae7752bd8 (diff)
downloadenigma2-821099592d721f82eeb92c32c7e8e60847c37294.tar.gz
enigma2-821099592d721f82eeb92c32c7e8e60847c37294.zip
eWindow: title change will now invalidate decoration.
Diffstat (limited to 'lib/gui/ewindow.cpp')
-rw-r--r--lib/gui/ewindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp
index e637cf22..622e8b0a 100644
--- a/lib/gui/ewindow.cpp
+++ b/lib/gui/ewindow.cpp
@@ -86,6 +86,12 @@ int eWindow::event(int event, void *data, void *data2)
}
return 0;
}
+ case evtTitleChanged:
+ /* m_visible_region contains, in contrast to m_visible_with_childs,
+ only the decoration. though repainting the whole decoration is bad,
+ repainting the whole window is even worse. */
+ invalidate(m_visible_region);
+ break;
default:
break;
}