diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2009-03-04 19:12:25 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2009-03-04 19:12:25 (GMT) |
commit | c4d8e9c8e14e1632708ef2d3c8d093099c5e3895 (patch) | |
tree | 8685498ab1d3de7a348393f8c42f825e610278aa /src/Window.cc | |
parent | f3bd0455f0183ee99f6ad2417ac675bc23c5f114 (diff) | |
download | fluxbox_pavel-c4d8e9c8e14e1632708ef2d3c8d093099c5e3895.zip fluxbox_pavel-c4d8e9c8e14e1632708ef2d3c8d093099c5e3895.tar.bz2 |
buildfix: fluxbox didnt link when configured with --disable-remember
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index 4b4d1dc..edc2b8e 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -36,7 +36,9 @@ | |||
36 | #include "WinButton.hh" | 36 | #include "WinButton.hh" |
37 | #include "WinButtonTheme.hh" | 37 | #include "WinButtonTheme.hh" |
38 | #include "WindowCmd.hh" | 38 | #include "WindowCmd.hh" |
39 | #ifdef REMEMBER | ||
39 | #include "Remember.hh" | 40 | #include "Remember.hh" |
41 | #endif | ||
40 | #include "MenuCreator.hh" | 42 | #include "MenuCreator.hh" |
41 | #include "FocusControl.hh" | 43 | #include "FocusControl.hh" |
42 | #include "IconButton.hh" | 44 | #include "IconButton.hh" |
@@ -2190,9 +2192,11 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) { | |||
2190 | } else if (atom == fbatoms->getMWMHintsAtom()) { | 2192 | } else if (atom == fbatoms->getMWMHintsAtom()) { |
2191 | client.updateMWMHints(); | 2193 | client.updateMWMHints(); |
2192 | updateMWMHintsFromClient(client); | 2194 | updateMWMHintsFromClient(client); |
2195 | #ifdef REMEMBER | ||
2193 | if (!m_toggled_decos) { | 2196 | if (!m_toggled_decos) { |
2194 | Remember::instance().updateDecoStateFromClient(client); | 2197 | Remember::instance().updateDecoStateFromClient(client); |
2195 | } | 2198 | } |
2199 | #endif | ||
2196 | applyDecorations(); // update decorations (if they changed) | 2200 | applyDecorations(); // update decorations (if they changed) |
2197 | } | 2201 | } |
2198 | break; | 2202 | break; |