mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Make command block implementation generic
This commit is contained in:
parent
2d480e754e
commit
7c810dc344
12 changed files with 293 additions and 410 deletions
|
|
@ -469,7 +469,6 @@ void ipc_client_handle_command(struct ipc_client *client) {
|
|||
switch (client->current_command) {
|
||||
case IPC_COMMAND:
|
||||
{
|
||||
config_clear_handler_context(config);
|
||||
struct cmd_results *results = execute_command(buf, NULL);
|
||||
const char *json = cmd_results_to_json(results);
|
||||
char reply[256];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue