From 02841e214442c7a602877883425757b0dab3f924 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 21 Oct 2026 21:30:19 -0300 Subject: A click that takes focus glides the cursor once, straight to the click --- src/pardes.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index 2a94c0f0..72470490 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -4550,6 +4550,9 @@ pub const Pardes = struct { cursor_view: struct { serial: u32 = 0, line: i64 = 0, origin: [2]f32 = .{ 0, 0 }, inside: bool = true } = .{}, /// The cursor glides from one pane to another: it may cross the grid. cursor_crossing: bool = false, + /// A click took focus to another pane and its button is still down: the + /// cursor waits where it was drawn for the release that places it. + cursor_held: bool = false, input_ns: u64 = 0, animate_theme_changes: bool = false, native_images: bool = false, -- cgit v1.3