Introduce parse_direction
Also fixes the following bug: in the fix for #1011 in cmd_resize_floating direction "width" is not considered. Influenced by #3240.
This commit is contained in:
@ -216,7 +216,7 @@ void cmd_sticky(I3_CMD, const char *action);
|
||||
* Implementation of 'move <direction> [<pixels> [px]]'.
|
||||
*
|
||||
*/
|
||||
void cmd_move_direction(I3_CMD, const char *direction, long move_px);
|
||||
void cmd_move_direction(I3_CMD, const char *direction_str, long move_px);
|
||||
|
||||
/**
|
||||
* Implementation of 'layout default|stacked|stacking|tabbed|splitv|splith'.
|
||||
|
Reference in New Issue
Block a user