diff options
| author | Joshua Ashton <joshua@froggi.es> | 2023-04-18 16:39:00 +0100 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2023-05-02 12:36:35 +0100 |
| commit | 3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c (patch) | |
| tree | 0fbf3a8cc8826af495c405a293d294f7b72fc346 /tests | |
| parent | protocol: improve wl_keyboard focus documentation (diff) | |
| download | wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.tar wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.tar.gz wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.tar.bz2 wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.tar.lz wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.tar.xz wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.tar.zst wayland-3bac2e5fb8ee6b02ad09e8e556edd270d7f4de9c.zip | |
event-loop: Handle EINTR and EAGAIN in wl_event_loop_dispatch
This fixes an issue where it was not possible to start Gamescope under GDB on some setups.
https://github.com/ValveSoftware/gamescope/issues/743
Any signals would cause epoll_wait to return -1 and set errno to EINTR.
This also handles the EAGAIN case like the other polling loops in libwayland.
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
