X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fcommands.h;h=85d5fe78a9f27056e565c048d52e4edc806e9bbc;hb=b17e7b82c602b946594006bb3019f47bd8262f14;hp=968bfbef4075b35ba09644d050f779d03cbeff5d;hpb=8bfd06c3dd6e15b031c4a1bca82499e449f5121c;p=i3%2Fi3 diff --git a/include/commands.h b/include/commands.h index 968bfbef..85d5fe78 100644 --- a/include/commands.h +++ b/include/commands.h @@ -9,6 +9,8 @@ */ #pragma once +#include + #include "commands_parser.h" /** The beginning of the prototype for every cmd_ function. */ @@ -64,7 +66,7 @@ void cmd_move_con_to_workspace_number(I3_CMD, const char *which, const char *no_ * Implementation of 'resize set [px] [px]'. * */ -void cmd_resize_set(I3_CMD, long cwidth, long cheight); +void cmd_resize_set(I3_CMD, long cwidth, const char *mode_width, long cheight, const char *mode_height); /** * Implementation of 'resize grow|shrink [ px] [or ppt]'. @@ -76,7 +78,7 @@ void cmd_resize(I3_CMD, const char *way, const char *direction, long resize_px, * Implementation of 'border normal|pixel []', 'border none|1pixel|toggle'. * */ -void cmd_border(I3_CMD, const char *border_style_str, const char *border_width); +void cmd_border(I3_CMD, const char *border_style_str, long border_width); /** * Implementation of 'nop '. @@ -288,6 +290,12 @@ void cmd_move_scratchpad(I3_CMD); */ void cmd_scratchpad_show(I3_CMD); +/** + * Implementation of 'swap [container] [with] id|con_id|mark '. + * + */ +void cmd_swap(I3_CMD, const char *mode, const char *arg); + /** * Implementation of 'title_format ' *