gboolean config_focus_new;
gboolean config_focus_follow;
guint config_focus_delay;
+guint config_focus_raise;
char *config_theme;
config_focus_follow = parse_bool(doc, n);
if ((n = parse_find_node("focusDelay", node)))
config_focus_delay = parse_int(doc, n) * 1000;
+ if ((n = parse_find_node("raiseOnFocus", node)))
+ config_focus_raise = parse_bool(doc, n);
}
static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
config_focus_new = TRUE;
config_focus_follow = FALSE;
config_focus_delay = 0;
+ config_focus_raise = FALSE;
parse_register(i, "focus", parse_focus, NULL);
extern gboolean config_focus_follow;
/*! Timeout for focusing windows on focus follows mouse, in microseconds */
extern guint config_focus_delay;
+/*! If windows should automatically be raised when they are focused in
+ focus follows mouse */
+extern guint config_focus_raise;
/*! When true windows' contents are refreshed while they are resized; otherwise
they are not updated until the resize is complete */