buildfix: fluxbox didnt link when configured with --disable-remember

This commit is contained in:
Mathias Gumz 2009-03-04 20:12:25 +01:00
parent f3bd0455f0
commit c4d8e9c8e1
2 changed files with 6 additions and 2 deletions

View file

@ -84,8 +84,7 @@ if GNOME
gnome_SOURCE= Gnome.hh Gnome.cc
endif
if REMEMBER_SRC
REMEMBER_SOURCE= Remember.hh Remember.cc \
ClientPattern.hh ClientPattern.cc
REMEMBER_SOURCE= Remember.hh Remember.cc
endif
if TOOLBAR_SRC
TOOLBAR_SOURCE = Toolbar.hh Toolbar.cc \
@ -132,6 +131,7 @@ fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \
RootCmdMenuItem.hh RootCmdMenuItem.cc\
MenuCreator.hh MenuCreator.cc \
ClientMenu.hh ClientMenu.cc \
ClientPattern.hh ClientPattern.cc \
WorkspaceMenu.hh WorkspaceMenu.cc \
FocusModelMenuItem.hh \
ToggleMenu.hh \

View file

@ -36,7 +36,9 @@
#include "WinButton.hh"
#include "WinButtonTheme.hh"
#include "WindowCmd.hh"
#ifdef REMEMBER
#include "Remember.hh"
#endif
#include "MenuCreator.hh"
#include "FocusControl.hh"
#include "IconButton.hh"
@ -2190,9 +2192,11 @@ void FluxboxWindow::propertyNotifyEvent(WinClient &client, Atom atom) {
} else if (atom == fbatoms->getMWMHintsAtom()) {
client.updateMWMHints();
updateMWMHintsFromClient(client);
#ifdef REMEMBER
if (!m_toggled_decos) {
Remember::instance().updateDecoStateFromClient(client);
}
#endif
applyDecorations(); // update decorations (if they changed)
}
break;