mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-01 02:17:59 +02:00
eis: don't allow connecting a disconnected client
This commit is contained in:
parent
8bdfc8cf18
commit
f9d691e98b
1 changed files with 2 additions and 0 deletions
|
|
@ -237,6 +237,8 @@ _public_ void
|
|||
eis_client_connect(struct eis_client *client)
|
||||
{
|
||||
switch(client->state) {
|
||||
case EIS_CLIENT_STATE_DISCONNECTED:
|
||||
return;
|
||||
case EIS_CLIENT_STATE_CONNECTING:
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue