mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-07 14:40:17 +01:00
We only need frame events after device events (pointer, touch, keyboard). In some cases, the library prevents an event from being written to the wire, e.g. if the coordinates are out of region, but the client will still call ei_device_frame() for that now-filtered event. Keep a boolean to remember if we have sent something that requires a frame event and filter accordingly. Note that this currently filters the *sender* side only, not the receiver side. A sender that gets an empty frame event onto the wire will still get that into the other side. This also doesn't handle the flushing of frame events before other events, ideally we should enforce a frame event before e.g. stop emulating. |
||
|---|---|---|
| .. | ||
| buildtest.c | ||
| buildtest.cc | ||
| eierpecken.c | ||
| eierpecken.h | ||
| test-ei-device.c | ||
| test-ei-seat.c | ||
| test-ei.c | ||
| test-eis.c | ||
| test-main.c | ||
| unit-tests.c | ||