*<action name="MoveTo" x="" y="" />*
Move to position (x, y)
+*<action name="MoveRelative" x="" y="" />*
+ Move window relative to its current position. Positive value of x moves
+ it right, negative left. Positive value of y moves it down, negative up.
+
*<action name="SnapToEdge" direction="value" />*
Resize window to fill half the output in the given direction. Supports
directions "left", "up", "right", "down" and "center".
if (view) {
int x = get_arg_value_int(action, "x", 0);
int y = get_arg_value_int(action, "y", 0);
- view_move(view, view->current.x + x, view->current.y + y);
+ view_move(view, view->pending.x + x, view->pending.y + y);
}
break;
case ACTION_TYPE_GO_TO_DESKTOP: {