all repos — openbox @ 169e64da2c5246fb9aaec417f12c0a9c89b295ee

openbox fork - make it a bit more like ryudo

remove the urgent actions
Dana Jansens danakj@orodu.net
commit

169e64da2c5246fb9aaec417f12c0a9c89b295ee

parent

4a107aa4b38783a4bb8ac87c28828f95241327a1

2 files changed, 0 insertions(+), 34 deletions(-)

jump to
M openbox/config.copenbox/config.c

@@ -40,8 +40,6 @@

gint config_resist_win; gint config_resist_edge; -GSList *config_urgent_actions; - /* <keybind key="C-x">

@@ -354,33 +352,6 @@ if ((n = parse_find_node("screen_edge_strength", node)))

config_resist_edge = parse_int(doc, n); } -static void parse_urgent(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) -{ - ObAction *action; - xmlNodePtr nact; - - nact = parse_find_node("action", node->xmlChildrenNode); - while (nact) { - if ((action = action_parse(i, doc, nact))) { - /* validate that its okay for an urgent binding */ - if (action->func == action_moveresize && - action->data.moveresize.corner != - prop_atoms.net_wm_moveresize_move_keyboard && - action->data.moveresize.corner != - prop_atoms.net_wm_moveresize_size_keyboard) { - action_free(action); - action = NULL; - } - - if (action) - config_urgent_actions = g_slist_append(config_urgent_actions, - action); - } - nact = parse_find_node("action", nact->next); - } -} - void config_startup(ObParseInst *i) { config_focus_new = TRUE;

@@ -434,8 +405,6 @@

config_menu_files = NULL; parse_register(i, "menu", parse_menu, NULL); - - parse_register(i, "urgent", parse_urgent, NULL); } void config_shutdown()
M openbox/config.hopenbox/config.h

@@ -71,9 +71,6 @@

/*! User-specified menu files */ extern GSList *config_menu_files; -/*! Actions to execute when a client sets its urgent flag */ -extern GSList *config_urgent_actions; - void config_startup(struct _ObParseInst *i); void config_shutdown();