fix bug where destroying the wrong windows in BlackboxWindow::positionButtons. make util/ directory use the new config.h too
Dana Jansens danakj@orodu.net
2 files changed,
6 insertions(+),
6 deletions(-)
M
src/Window.cc
→
src/Window.cc
@@ -684,12 +684,12 @@ parsed += *it;
} } } - if (! hasclose) - destroyCloseButton(); - if (! hasiconify) - destroyCloseButton(); - if (! hasmaximize) + if (! hasclose && frame.close_button) destroyCloseButton(); + if (! hasiconify && frame.iconify_button) + destroyIconifyButton(); + if (! hasmaximize && frame.maximize_button) + destroyMaximizeButton(); if (! haslabel) parsed += 'L'; // require that the label be in the layout
M
util/Makefile.am
→
util/Makefile.am
@@ -1,6 +1,6 @@
# util/Makefile.am for Blackbox - an X11 Window manager -CPPFLAGS= @CPPFLAGS@ @DEBUG@ @NLS@ @TIMEDCACHE@ @ORDEREDPSEUDO@ +CPPFLAGS= @CPPFLAGS@ @DEBUG@ bin_SCRIPTS = bsetbg bin_PROGRAMS = bsetroot