diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-05-02 11:43:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-05-02 11:43:59 +0000 |
| commit | 237db6e771293689d6739de5aac7358d35dce5d3 (patch) | |
| tree | 05a41d230726ac11e18628541e70e73bbdbc8a87 /render.c | |
| parent | Paste URL/regex selection to prompt if key is uppercase. (diff) | |
wayland: always call wl_display_dispatch_pending() at least once, after reading
This fixes an issue where protocol errors aren't reported. I'm
guessing the read succeeds, but that prepare_read() _also_ succeeds
immediately, since there aren't any events to dispatch (only log the
protocol error).
By calling dispatch unconditionally, we ensure any error messages are
printed. Then we proceed to loop prepare_read() + dispatch_pending()
until the queue is empty.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
