mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-15 18:30:34 +01:00
As the protocol spec says, EIS should treat this as already disconnected and not touch the connection. This fixes a memleak if a client connects and immediately disconnects - when EIS processes the EIS_EVENT_CLIENT_CONNECT it may set up a bunch of things like seats (the eis-demo-server does this). Then, later, when the EIS_EVENTE_CLIENT_DISCONNECT is processed, it calls eis_client_disconnect() but we were already in the disconnected state and the seats would not get released. |
||
|---|---|---|
| .. | ||
| templates | ||
| buildtest.c | ||
| buildtest.cc | ||
| eierpecken.c | ||
| eierpecken.h | ||
| eiproto.py.tmpl | ||
| meson.build | ||
| test-ei-device.c | ||
| test-ei-seat.c | ||
| test-ei.c | ||
| test-eis.c | ||
| test-main.c | ||
| test_oeffis.py | ||
| test_protocol.py | ||
| unit-tests.c | ||