aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-07-25 15:47:42 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-07-30 16:22:49 (GMT)
commitbccb185cd9e4efd1db2e5244ba1a1956f750f9cd (patch)
tree69a1756061719eaf0764479942f1139f8694d2e5 /src/FbCommands.cc
parent6defd9391d16fe99422d12c2ab5475929087c11f (diff)
downloadfluxbox-bccb185cd9e4efd1db2e5244ba1a1956f750f9cd.zip
fluxbox-bccb185cd9e4efd1db2e5244ba1a1956f750f9cd.tar.bz2
reconfigTheme's on loading a new style
Also reconfigure menus (recursively) on style load The most critical call is the shape update - the menus often become cut-off, preventing mouse interaction with lower items, but also colors are not applied correctly to menus w/o updating them. BUG 1022 is most likely this and only a misinterpretation (for the mentioned items are those with lacking color updates on style updates) BUG: 1146 BUG: 1017 CCBUG: 1022
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index 89b8eaf..bc4b1e9 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -250,6 +250,7 @@ SetStyleCmd::SetStyleCmd(const string &filename):m_filename(filename) {
250void SetStyleCmd::execute() { 250void SetStyleCmd::execute() {
251 if (FbTk::ThemeManager::instance().load(m_filename, 251 if (FbTk::ThemeManager::instance().load(m_filename,
252 Fluxbox::instance()->getStyleOverlayFilename())) { 252 Fluxbox::instance()->getStyleOverlayFilename())) {
253 Fluxbox::instance()->reconfigThemes();
253 Fluxbox::instance()->saveStyleFilename(m_filename.c_str()); 254 Fluxbox::instance()->saveStyleFilename(m_filename.c_str());
254 Fluxbox::instance()->save_rc(); 255 Fluxbox::instance()->save_rc();
255 } 256 }