X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/44433f650cd3e5f9f66253b74d194fcb01578595..033a2333874297c1c388ecf4532de2bc2b11fb30:/lib/gui/ewindow.cpp diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp index 01f889ff..622e8b0a 100644 --- a/lib/gui/ewindow.cpp +++ b/lib/gui/ewindow.cpp @@ -70,9 +70,7 @@ int eWindow::event(int event, void *data, void *data2) style->handleNewSize(this, new_size, offset); } } else - { m_child->resize(new_size); - } break; } case evtPaint: @@ -88,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; }