+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
+
+ config.c for the Openbox window manager
+ Copyright (c) 2003 Ben Jansens
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ See the COPYING file for a copy of the GNU General Public License.
+*/
+
#include "config.h"
#include "keyboard.h"
#include "mouse.h"
gboolean config_focus_new;
gboolean config_focus_follow;
-gboolean config_focus_last;
-gboolean config_focus_last_on_desktop;
guint config_focus_delay;
char *config_theme;
config_focus_new = parse_bool(doc, n);
if ((n = parse_find_node("followMouse", node)))
config_focus_follow = parse_bool(doc, n);
- if ((n = parse_find_node("focusLast", node)))
- config_focus_last = parse_bool(doc, n);
- if ((n = parse_find_node("focusLastOnDesktop", node)))
- config_focus_last_on_desktop = parse_bool(doc, n);
if ((n = parse_find_node("focusDelay", node)))
config_focus_delay = parse_int(doc, n) * 1000;
}
g_free(config_theme);
c = parse_string(doc, n);
- config_theme = ob_expand_tilde(c);
+ config_theme = parse_expand_tilde(c);
g_free(c);
}
if ((n = parse_find_node("titleLayout", node))) {
c = parse_string(doc, node);
config_menu_files = g_slist_append(config_menu_files,
- ob_expand_tilde(c));
+ parse_expand_tilde(c));
g_free(c);
}
}
{
config_focus_new = TRUE;
config_focus_follow = FALSE;
- config_focus_last = TRUE;
- config_focus_last_on_desktop = TRUE;
config_focus_delay = 0;
parse_register(i, "focus", parse_focus, NULL);