fix some updates on style change

This commit is contained in:
Mark Tiefenbruck 2008-01-21 09:00:00 -08:00
parent db4ec8cf20
commit 38a01a71b4

View file

@ -302,8 +302,7 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbTk::XLayer &layer):
m_parent(client.screen().rootWindow()), m_parent(client.screen().rootWindow()),
m_resize_corner(RIGHTBOTTOM) { m_resize_corner(RIGHTBOTTOM) {
screen().focusedWinFrameTheme().reconfigSig().attach(this); m_theme.reconfigSig().attach(this);
screen().unfocusedWinFrameTheme().reconfigSig().attach(this);
init(); init();
@ -3016,9 +3015,9 @@ void FluxboxWindow::update(FbTk::Subject *subj) {
if (FocusControl::focusedFbWindow()) if (FocusControl::focusedFbWindow())
setFullscreenLayer(); setFullscreenLayer();
} }
} else if (subj == &frame().theme()->reconfigSig()) { } else if (subj == &m_theme.reconfigSig()) {
reconfigTheme();
frame().reconfigure(); frame().reconfigure();
reconfigTheme();
} }
} }