diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-23 07:57:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 07:57:48 -0400 |
commit | 0515b37dfde41cfa85529ac0f8b991a1bec749d2 (patch) | |
tree | 5f855ab05c0ec079f4487e9527f87f37c1929bf1 /sway/commands.c | |
parent | 89dc047ca9558efe4efe8a81a15903cd0f0bdcba (diff) | |
parent | 12e90fa6006b2cf17a5b5983b5a6e2e70cda58d3 (diff) |
Merge pull request #2323 from RyanDwyer/scratchpad
Implement scratchpad
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index f40f0e9d..fdae1961 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -149,6 +149,7 @@ static struct cmd_handler command_handlers[] = { { "reload", cmd_reload }, { "rename", cmd_rename }, { "resize", cmd_resize }, + { "scratchpad", cmd_scratchpad }, { "split", cmd_split }, { "splith", cmd_splith }, { "splitt", cmd_splitt }, @@ -326,7 +327,7 @@ struct cmd_results *execute_command(char *_exec, struct sway_seat *seat) { } while(head); cleanup: free(exec); - free(views); + list_free(views); if (!results) { results = cmd_results_new(CMD_SUCCESS, NULL, NULL); } |