From 38a01a71b401800c8aa3b242f672cc58143f6c28 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 21 Jan 2008 09:00:00 -0800 Subject: fix some updates on style change --- src/Window.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 86026c9..faf9dfc 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -302,8 +302,7 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbTk::XLayer &layer): 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 @@ void FluxboxWindow::update(FbTk::Subject *subj) { if (FocusControl::focusedFbWindow()) setFullscreenLayer(); } - } else if (subj == &frame().theme()->reconfigSig()) { - reconfigTheme(); + } else if (subj == &m_theme.reconfigSig()) { frame().reconfigure(); + reconfigTheme(); } } -- cgit v0.11.2