diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-04 03:37:21 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-04 03:37:21 (GMT) |
commit | b20b243b48683d209f8134b46c6dcea4df94b6cc (patch) | |
tree | 175d8bb5fa7743b5fd4a1883ab4762f384754308 /src/Window.cc | |
parent | 9c105111d29f9c938f6d1c654904ac8f7e9159c2 (diff) | |
download | fluxbox_pavel-b20b243b48683d209f8134b46c6dcea4df94b6cc.zip fluxbox_pavel-b20b243b48683d209f8134b46c6dcea4df94b6cc.tar.bz2 |
remove some unnecessary code
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 | ||