fix some updates on style change
This commit is contained in:
parent
db4ec8cf20
commit
38a01a71b4
1 changed files with 3 additions and 4 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue