action_directional_focus,
setup_action_directional_focus_northwest
},
action_directional_focus,
setup_action_directional_focus_northwest
},
} else if (act->func == action_send_to_desktop_dir) {
if ((n = parse_find_node("wrap", node->xmlChildrenNode)))
act->data.sendtodir.wrap = parse_bool(doc, n);
} else if (act->func == action_send_to_desktop_dir) {
if ((n = parse_find_node("wrap", node->xmlChildrenNode)))
act->data.sendtodir.wrap = parse_bool(doc, n);
return;
if ((nf = client_find_directional(data->diraction.c,
data->diraction.direction)))
return;
if ((nf = client_find_directional(data->diraction.c,
data->diraction.direction)))
switch(data->diraction.direction) {
case OB_DIRECTION_NORTH:
dest = client_directional_edge_search(c, OB_DIRECTION_NORTH);
switch(data->diraction.direction) {
case OB_DIRECTION_NORTH:
dest = client_directional_edge_search(c, OB_DIRECTION_NORTH);
height = c->frame->area.height / 2;
y = a->y + a->height - height;
} else
height = dest - c->frame->area.y;
height = c->frame->area.height / 2;
y = a->y + a->height - height;
} else
height = dest - c->frame->area.y;
width = c->frame->area.width / 2;
x = a->x + a->width - width;
} else
width = dest - c->frame->area.x;
width = c->frame->area.width / 2;
x = a->x + a->width - width;
} else
width = dest - c->frame->area.x;