aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoracheronfail <acheronfail@gmail.com>2020-09-01 22:29:45 +1000
committeracheronfail <acheronfail@gmail.com>2020-10-20 17:48:26 +1100
commitfae10f6df75b65d92b127e8890b5d0bfa77211ae (patch)
treee17a281e06bb45cd7e52888bf04d5f33e677ac7c /include
parentffad26beb0776a3b9c06cd2e1e93ecd15d3345fd (diff)
downloadi3-fae10f6df75b65d92b127e8890b5d0bfa77211ae.tar.gz
i3-fae10f6df75b65d92b127e8890b5d0bfa77211ae.zip
allow ppt values in move direction and move position commands
make ppt values clear in userguide chore: move is_ppt and DLOG out of TAILQ_FOREACH loop
Diffstat (limited to 'include')
-rw-r--r--include/commands.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/commands.h b/include/commands.h
index 9a2a20b2..7a1877a1 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -219,10 +219,10 @@ void cmd_fullscreen(I3_CMD, const char *action, const char *fullscreen_mode);
void cmd_sticky(I3_CMD, const char *action);
/**
- * Implementation of 'move <direction> [<pixels> [px]]'.
+ * Implementation of 'move <direction> [<amount> [px|ppt]]'.
*
*/
-void cmd_move_direction(I3_CMD, const char *direction_str, long move_px);
+void cmd_move_direction(I3_CMD, const char *direction_str, long amount, const char *mode);
/**
* Implementation of 'layout default|stacked|stacking|tabbed|splitv|splith'.
@@ -267,10 +267,10 @@ void cmd_open(I3_CMD);
void cmd_focus_output(I3_CMD, const char *name);
/**
- * Implementation of 'move [window|container] [to] [absolute] position <px> [px] <px> [px]
+ * Implementation of 'move [window|container] [to] [absolute] position [<pos_x> [px|ppt] <pos_y> [px|ppt]]
*
*/
-void cmd_move_window_to_position(I3_CMD, long x, long y);
+void cmd_move_window_to_position(I3_CMD, long x, const char *mode_x, long y, const char *mode_y);
/**
* Implementation of 'move [window|container] [to] [absolute] position center