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 | update log.h for latest wlr (diff) | |
download | sway-ac8269d536bf636bd0fbf8047cf6516912634864.tar.gz sway-ac8269d536bf636bd0fbf8047cf6516912634864.tar.zst sway-ac8269d536bf636bd0fbf8047cf6516912634864.zip |
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) { | |||
22 | config->active = true; | 22 | config->active = true; |
23 | while (config->cmd_queue->length) { | 23 | while (config->cmd_queue->length) { |
24 | char *line = config->cmd_queue->items[0]; | 24 | char *line = config->cmd_queue->items[0]; |
25 | struct cmd_results *res = handle_command(line); | 25 | struct cmd_results *res = execute_command(line, NULL); |
26 | if (res->status != CMD_SUCCESS) { | 26 | if (res->status != CMD_SUCCESS) { |
27 | wlr_log(L_ERROR, "Error on line '%s': %s", line, res->error); | 27 | wlr_log(L_ERROR, "Error on line '%s': %s", line, res->error); |
28 | } | 28 | } |