fix some updates on style change
Mark Tiefenbruck mark@fluxbox.org
1 files changed,
3 insertions(+),
4 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -302,8 +302,7 @@ m_old_layernum(0),
m_parent(client.screen().rootWindow()), m_resize_corner(RIGHTBOTTOM) { - screen().focusedWinFrameTheme().reconfigSig().attach(this); - screen().unfocusedWinFrameTheme().reconfigSig().attach(this); + m_theme.reconfigSig().attach(this); init();@@ -3016,9 +3015,9 @@ if (subj == &screen().focusedWindowSig()) {
if (FocusControl::focusedFbWindow()) setFullscreenLayer(); } - } else if (subj == &frame().theme()->reconfigSig()) { - reconfigTheme(); + } else if (subj == &m_theme.reconfigSig()) { frame().reconfigure(); + reconfigTheme(); } }