]> git.sur5r.net Git - i3/i3/blobdiff - include/commands.h
Migrate the resize command to use typed numbers.
[i3/i3] / include / commands.h
index 6d1046d4b74cece97c59ee2ee36e475dbb13eeda..de6c499d3ef0d1edd2700fe7ae85cf3852a95159 100644 (file)
@@ -60,11 +60,17 @@ void cmd_move_con_to_workspace_name(I3_CMD, char *name);
  */
 void cmd_move_con_to_workspace_number(I3_CMD, char *which);
 
+/**
+ * Implementation of 'resize set <px> [px] <px> [px]'.
+ *
+ */
+void cmd_resize_set(I3_CMD, long cwidth, long cheight);
+
 /**
  * Implementation of 'resize grow|shrink <direction> [<px> px] [or <ppt> ppt]'.
  *
  */
-void cmd_resize(I3_CMD, char *way, char *direction, char *resize_px, char *resize_ppt);
+void cmd_resize(I3_CMD, char *way, char *direction, long resize_px, long resize_ppt);
 
 /**
  * Implementation of 'border normal|pixel [<n>]', 'border none|1pixel|toggle'.
@@ -198,6 +204,12 @@ void cmd_focus(I3_CMD);
  */
 void cmd_fullscreen(I3_CMD, char *action, char *fullscreen_mode);
 
+/**
+ * Implementation of 'sticky enable|disable|toggle'.
+ *
+ */
+void cmd_sticky(I3_CMD, char *action);
+
 /**
  * Implementation of 'move <direction> [<pixels> [px]]'.
  *