mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
return after disconnect ipc client and minor checks
This commit is contained in:
parent
fe3b85d65f
commit
c963aa7ced
2 changed files with 3 additions and 3 deletions
|
|
@ -253,7 +253,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
|
|||
default:
|
||||
sway_log(L_INFO, "Unknown IPC command type %i", client->current_command);
|
||||
ipc_client_disconnect(client);
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
client->payload_length = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue