Implement floating_minimum_size and floating_maximum_size

This commit is contained in:
Ryan Dwyer 2018-07-11 22:16:48 +10:00
parent 73084c5fa6
commit f2d1cf3ceb
4 changed files with 94 additions and 7 deletions

View file

@ -100,6 +100,8 @@ static struct cmd_handler handlers[] = {
{ "default_border", cmd_default_border },
{ "exec", cmd_exec },
{ "exec_always", cmd_exec_always },
{ "floating_maximum_size", cmd_floating_maximum_size },
{ "floating_minimum_size", cmd_floating_minimum_size },
{ "focus_follows_mouse", cmd_focus_follows_mouse },
{ "focus_wrapping", cmd_focus_wrapping },
{ "font", cmd_font },
@ -344,7 +346,7 @@ struct cmd_results *config_command(char *exec) {
// Start block
if (argc > 1 && strcmp(argv[argc - 1], "{") == 0) {
char *block = join_args(argv, argc - 1);
char *block = join_args(argv, argc - 1);
results = cmd_results_new(CMD_BLOCK, block, NULL);
free(block);
goto cleanup;