static void free_func(gpointer options);
static gboolean run_func(ObActionsData *data, gpointer options);
-void action_resizerelative_startup()
+void action_resizerelative_startup(void)
{
actions_register("ResizeRelative",
setup_func,
o->left = parse_int(doc, n);
if ((n = parse_find_node("right", node)))
o->right = parse_int(doc, n);
- if ((n = parse_find_node("top", node)))
+ if ((n = parse_find_node("top", node)) ||
+ (n = parse_find_node("up", node)))
o->top = parse_int(doc, n);
- if ((n = parse_find_node("bottom", node)))
+ if ((n = parse_find_node("bottom", node)) ||
+ (n = parse_find_node("down", node)))
o->bottom = parse_int(doc, n);
return o;