diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 45efd39..7f14ee8 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -269,7 +269,6 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbWinFrameTheme &tm, | |||
269 | m_statesig(*this), | 269 | m_statesig(*this), |
270 | m_layersig(*this), | 270 | m_layersig(*this), |
271 | m_workspacesig(*this), | 271 | m_workspacesig(*this), |
272 | m_themelistener(*this), | ||
273 | m_creation_time(0), | 272 | m_creation_time(0), |
274 | moving(false), resizing(false), shaded(false), iconic(false), | 273 | moving(false), resizing(false), shaded(false), iconic(false), |
275 | stuck(false), m_initialized(false), fullscreen(false), | 274 | stuck(false), m_initialized(false), fullscreen(false), |
@@ -299,7 +298,7 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbWinFrameTheme &tm, | |||
299 | m_parent(client.screen().rootWindow()), | 298 | m_parent(client.screen().rootWindow()), |
300 | m_resize_corner(RIGHTBOTTOM) { | 299 | m_resize_corner(RIGHTBOTTOM) { |
301 | 300 | ||
302 | tm.reconfigSig().attach(&m_themelistener); | 301 | tm.reconfigSig().attach(this); |
303 | 302 | ||
304 | init(); | 303 | init(); |
305 | 304 | ||
@@ -3011,6 +3010,9 @@ void FluxboxWindow::update(FbTk::Subject *subj) { | |||
3011 | if (FocusControl::focusedFbWindow()) | 3010 | if (FocusControl::focusedFbWindow()) |
3012 | setFullscreenLayer(); | 3011 | setFullscreenLayer(); |
3013 | } | 3012 | } |
3013 | } else if (subj == &frame().theme().reconfigSig()) { | ||
3014 | reconfigTheme(); | ||
3015 | frame().reconfigure(); | ||
3014 | } | 3016 | } |
3015 | } | 3017 | } |
3016 | 3018 | ||