summaryrefslogtreecommitdiff
path: root/src/gui/gui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.zig')
-rw-r--r--src/gui/gui.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index c42e390b..da48d3fb 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -3735,7 +3735,7 @@ fn pollFrame(ctx: ?*anyopaque) void {
// poll thread, so nothing else will wake us — re-arm the loop ourselves;
// `Queue.push` is lossy for this variant, which is correct, because a queue
// too full to take a wake is already holding one.
- if (s.fs) |f| if (fs_service.drain(f, core).pending) s.queue.push(.fs_ready);
+ if (s.fs) |f| if (fs_service.drain(f.transport(), core).pending) s.queue.push(.fs_ready);
const g = s.gui orelse return;
// TaglineSize is pure renderer state: update the smaller face and its
// visual band immediately, without changing the body metrics or grid.
@@ -3838,7 +3838,7 @@ fn gridPollFrame(ctx: ?*anyopaque) void {
// something IS an event, so the pass renders: that is what lets a snapshot
// `wait` for text a script wrote through the mount.
if (s.fs) |f| {
- if (fs_service.drain(f, s.core).count != 0) s.saw_event = true;
+ if (fs_service.drain(f.transport(), s.core).count != 0) s.saw_event = true;
}
pollCwds(s.core, s.ptys);
// The harness polls stdin at the same 16 ms cadence as native SDL, so a