mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
take seat param for handle_command and rename
This commit is contained in:
parent
6becfc1431
commit
ac8269d536
5 changed files with 32 additions and 25 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue