eWindow: title change will now invalidate decoration.
[enigma2.git] / lib / gui / ewindow.cpp
index e637cf2..622e8b0 100644 (file)
@@ -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;
        }