action_desktop_last,
NULL
},
+ {
+ "reconfigure",
+ action_reconfigure,
+ NULL
+ },
{
"restart",
action_restart,
{
ObClient *c = data->relative.any.c;
if (c) {
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
client_move(c, c->area.x + data->relative.delta, c->area.y);
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
}
}
{
ObClient *c = data->relative.any.c;
if (c) {
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
client_move(c, c->area.x, c->area.y + data->relative.delta);
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
}
}
{
ObClient *c = data->relative.any.c;
if (c) {
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
client_resize(c,
c->area.width + data->relative.delta * c->size_inc.width,
c->area.height);
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
}
}
{
ObClient *c = data->relative.any.c;
if (c && !c->shaded) {
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
client_resize(c, c->area.width, c->area.height +
data->relative.delta * c->size_inc.height);
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
}
}
data->moveresize.button, data->moveresize.corner);
}
+void action_reconfigure(union ActionData *data)
+{
+ ob_reconfigure();
+}
+
void action_restart(union ActionData *data)
{
ob_restart_other(data->execute.path);
g_assert_not_reached();
}
frame_frame_gravity(c->frame, &x, &y);
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
client_move(c, x, y);
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
}
frame_frame_gravity(c->frame, &x, &y);
width -= c->frame->size.left + c->frame->size.right;
height -= c->frame->size.top + c->frame->size.bottom;
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
client_move_resize(c, x, y, width, height);
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
}
void action_send_to_layer(union ActionData *data)