all repos — fluxbox @ 2e3bd41f4e0e5d10c65888b277f944d75938fab8

custom fork of the fluxbox windowmanager

add compiled-in defaults to output of fluxbox -info (thanks Matt Hope)
rathnor rathnor
commit

2e3bd41f4e0e5d10c65888b277f944d75938fab8

parent

7e1733c4352befe577150bad63d362dd7c1a94b9

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

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.5: *03/07/19: + * Add compiled-in defaults to fluxbox -info (thanks Matt Hope) + main.cc * Redo ResourceManager so that it loads resources on registration, and only opens the database in blocks of requests (Simon) - fixes initial loading of init resources (e.g. toolbar.layer)
M src/main.ccsrc/main.cc

@@ -20,11 +20,12 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: main.cc,v 1.20 2003/07/11 15:03:02 fluxgen Exp $ +// $Id: main.cc,v 1.21 2003/07/18 15:44:36 rathnor Exp $ #include "fluxbox.hh" #include "I18n.hh" #include "version.h" +#include "defaults.hh" #ifdef HAVE_CONFIG_H #include "config.h"

@@ -55,8 +56,15 @@ ostr<<"Unknown";

#endif ostr<<endl<<"Compiler version: "<<__VERSION__<<endl; + ostr<<endl<<"Defaults:"<<endl; + ostr<<" menu: "<<DEFAULTMENU<<endl; + ostr<<" style: "<<DEFAULTSTYLE<<endl; + + ostr<<" keys: "<<DEFAULTKEYSFILE<<endl; + ostr<<" init: "<<DEFAULT_INITFILE<<endl; + const char NOT[] = "-"; - ostr<<"Compiled options ("<<NOT<<" => disabled): "<<endl<< + ostr<<endl<<"Compiled options ("<<NOT<<" => disabled): "<<endl<< #ifndef DEBUG NOT<< #endif // DEBUG