diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index c030712..ba98740 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -246,6 +246,7 @@ void FbWinFrame::notifyMoved(bool clear) { | |||
246 | } | 246 | } |
247 | 247 | ||
248 | void FbWinFrame::clearAll() { | 248 | void FbWinFrame::clearAll() { |
249 | |||
249 | if (m_use_titlebar) { | 250 | if (m_use_titlebar) { |
250 | redrawTitlebar(); | 251 | redrawTitlebar(); |
251 | 252 | ||
@@ -853,8 +854,13 @@ void FbWinFrame::reconfigure() { | |||
853 | 854 | ||
854 | 855 | ||
855 | // render the theme | 856 | // render the theme |
856 | renderAll(); | 857 | if (isVisible()) { |
857 | applyAll(); | 858 | renderAll(); |
859 | applyAll(); | ||
860 | clearAll(); | ||
861 | } else { | ||
862 | m_need_render = true; | ||
863 | } | ||
858 | 864 | ||
859 | if (m_shape.get() && theme().shapePlace() == Shape::NONE || m_disable_shape) | 865 | if (m_shape.get() && theme().shapePlace() == Shape::NONE || m_disable_shape) |
860 | m_shape.reset(0); | 866 | m_shape.reset(0); |