all repos — openbox @ 6284d4ef9036764d4e6f708ca5f38aa7c1749865

openbox fork - make it a bit more like ryudo

fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
make util/ directory use the new config.h too
Dana Jansens danakj@orodu.net
commit

6284d4ef9036764d4e6f708ca5f38aa7c1749865

parent

62ea1c5937b8d9dec82954e74da3fd2e712f2386

2 files changed, 6 insertions(+), 6 deletions(-)

jump to
M src/Window.ccsrc/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.amutil/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