diff options
author | simonb <simonb> | 2005-04-13 14:39:25 (GMT) |
---|---|---|
committer | simonb <simonb> | 2005-04-13 14:39:25 (GMT) |
commit | ddcecec37e0ea559c9292423a257b47c423ddb9e (patch) | |
tree | 650ca599e242e31193c298b3bceac4b3f43ac949 /src/FbWinFrame.cc | |
parent | 88c66f0687d2a9e2018f22407b2587dc4d87d012 (diff) | |
download | fluxbox-ddcecec37e0ea559c9292423a257b47c423ddb9e.zip fluxbox-ddcecec37e0ea559c9292423a257b47c423ddb9e.tar.bz2 |
fix a few small bugs from recent big patch
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); |