summaryrefslogtreecommitdiff
path: root/core/Handover.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Handover.zig')
-rw-r--r--core/Handover.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Handover.zig b/core/Handover.zig
index 6f7340b2..f60ce72b 100644
--- a/core/Handover.zig
+++ b/core/Handover.zig
@@ -628,6 +628,10 @@ test "a column let go over another window goes beside the column the pointer is
const gpa = std.testing.allocator;
const from = try twoPanes(gpa);
defer from.deinit();
+ // A column's grip is in the column row, which a second column brings
+ // (UX K'2).
+ try std.testing.expect(from.executeBuiltinLine(0, "Newcol"));
+ from.sync();
const r = from.view().rects[0];
const c = layout.findPane(from, 0).?.col;
from.update(.{ .mouse = .{ .button = .left, .kind = .press, .col = from.view().col_x[c], .row = from.topBarHeight() } });