summaryrefslogtreecommitdiff
path: root/src/mouse.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mouse.zig')
-rw-r--r--src/mouse.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mouse.zig b/src/mouse.zig
index 21961cf8..7a2d0805 100644
--- a/src/mouse.zig
+++ b/src/mouse.zig
@@ -1044,7 +1044,9 @@ fn gestureRange(p: *Pardes, id: usize, text: []const u8, on_tag: bool, operand:
return .{ .q0 = q0, .q1 = @intCast(@min(q0 + text.len, f.content.len)) };
}
-fn dispatchPointerBuiltin(
+/// A look or exec of what an operand took (exec.operandAt), from a
+/// click or a key: an event reader is told, else it runs.
+pub fn dispatchPointerBuiltin(
p: *Pardes,
id: usize,
cmd: Builtin,