diff options
Diffstat (limited to 'src/decorator.cpp')
-rw-r--r-- | src/decorator.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/decorator.cpp b/src/decorator.cpp index 6e6fcd0..8da5808 100644 --- a/src/decorator.cpp +++ b/src/decorator.cpp @@ -419,20 +419,26 @@ Aquamarine::Decorator::reconfigure () m_config->reparseConfiguration (); unsigned long changed = m_options->updateSettings (); + for (QMap < WId, Aquamarine::Window * >::ConstIterator it = + m_windows.constBegin (); it != m_windows.constEnd (); ++it) + it.data ()->updateConfig (); + + + if (m_defShadow) + delete m_defShadow; + m_defShadow = (Settings::drawShadows())? new Aquamarine::DefaultShadow () : NULL; + #ifdef HAVE_BERYL_SETTINGS beryl_settings_send_reload_signal(); #endif - if (m_plugins->reset (changed)) + if (m_plugins->reset (changed)) { for (QMap < WId, Aquamarine::Window * >::ConstIterator it = m_windows.constBegin (); it != m_windows.constEnd (); ++it) it.data ()->reloadDecoration (); m_defDeco->reloadDecoration (); m_defDecoActive->reloadDecoration (); - if (m_defShadow) - delete m_defShadow; - m_defShadow = (Settings::drawShadows())? new Aquamarine::DefaultShadow () : NULL; m_plugins->destroyPreviousPlugin (); } } |