mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-16 20:10:31 +01:00
Because events may be in-transit when a client removes the device, we need to make this a full roundtrip to the server. Otherwise the client may assume a device is removed, releases all references and then gets the original device added event for that device. Better to have this as a round-trip instead. This requires the server to call eis_device_disconnect() on the removed notifications but we do so during eis_event_unref() anyway in case the server forgets. And it changes some of the API behaviors, so adjust the tests for that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| buildtest.c | ||
| eierpecken.c | ||
| eierpecken.h | ||
| test-ei.c | ||
| test-eis.c | ||
| unit-tests.c | ||