summaryrefslogtreecommitdiff
path: root/src/FbTk/Theme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Theme.cc')
-rw-r--r--src/FbTk/Theme.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Theme.cc b/src/FbTk/Theme.cc
index 7f6e9dc..e6a07d0 100644
--- a/src/FbTk/Theme.cc
+++ b/src/FbTk/Theme.cc
@@ -135,8 +135,10 @@ bool ThemeManager::load(const std::string &filename, int screen_num) {
135 theme_it = m_themelist.begin(); 135 theme_it = m_themelist.begin();
136 for (; theme_it != theme_it_end; ++theme_it) { 136 for (; theme_it != theme_it_end; ++theme_it) {
137 // send reconfiguration signal to theme and listeners 137 // send reconfiguration signal to theme and listeners
138 (*theme_it)->reconfigTheme(); 138 if (screen_num < 0 || (*theme_it)->screenNum() == screen_num) {
139 (*theme_it)->reconfigSig().notify(); 139 (*theme_it)->reconfigTheme();
140 (*theme_it)->reconfigSig().notify();
141 }
140 } 142 }
141 return true; 143 return true;
142} 144}