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.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 33922286..7d77ed2a 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -4455,7 +4455,7 @@ fn deliverNote(ctx: *anyopaque, note: daemon.Note) void {
// A terminal for a window session: the daemon refuses that kind
// before it is sent, so only an old one's would be here.
if (a.tty >= 0) _ = libc.close(a.tty);
- if (a.stub >= 0) daemon.refuseStub(a.stub, "a window session takes no terminal");
+ if (a.stub >= 0) daemon.tellStub(a.stub, "r{s}", .{"a window session takes no terminal"});
if (a.tty < 0) q.push(.window);
},
.adopted => |a| {