fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
make util/ directory use the new config.h too
This commit is contained in:
parent
62ea1c5937
commit
6284d4ef90
2 changed files with 6 additions and 6 deletions
|
@ -684,12 +684,12 @@ void BlackboxWindow::positionButtons(bool redecorate_label) {
|
|||
}
|
||||
}
|
||||
}
|
||||
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue