diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-29 21:09:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-29 21:09:56 +0000 |
| commit | 304ee33fd65dca61102af0a515f90292cfda3826 (patch) | |
| tree | c282c77187d0abbd5516444d29a5c4b667e85cf7 | |
| parent | doc: foot.1: mention that selection is kept after ending a scrollback search (diff) | |
wayland: always flush after dispatching messages
This means we don't have to e.g. roundtrip when setting the cursor.
| -rw-r--r-- | wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -456,6 +456,7 @@ fdm_wayl(struct fdm *fdm, int fd, int events, void *data) return false; } + wl_display_flush(wayl->display); return event_count != -1; } @@ -828,7 +829,6 @@ wayl_cursor_set(struct wayland *wayl, const struct terminal *term) wl_surface_set_buffer_scale(wayl->pointer.surface, scale); wl_surface_commit(wayl->pointer.surface); - wl_display_roundtrip(wayl->display); return true; } |
