diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-24 12:50:24 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-24 12:50:24 -0500 |
commit | ac8269d536bf636bd0fbf8047cf6516912634864 (patch) | |
tree | d23376a0f745e113b3ddfb10573375c9d6ea587e /sway/server.c | |
parent | 6becfc14310e1443fc058b57c3ff756f3cb06af3 (diff) |
take seat param for handle_command and rename
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/server.c b/sway/server.c index 0753d37e..495769ee 100644 --- a/sway/server.c +++ b/sway/server.c @@ -22,7 +22,7 @@ static void server_ready(struct wl_listener *listener, void *data) { config->active = true; while (config->cmd_queue->length) { char *line = config->cmd_queue->items[0]; - struct cmd_results *res = handle_command(line); + struct cmd_results *res = execute_command(line, NULL); if (res->status != CMD_SUCCESS) { wlr_log(L_ERROR, "Error on line '%s': %s", line, res->error); } |