From 3354d237c04d40a2472d1f32d510f253935d461a Mon Sep 17 00:00:00 2001 From: sbron Date: Thu, 16 Mar 2023 21:17:12 +0000 Subject: Update the description of the menu entry index of the form @index to reflect how it actually works. --- doc/menu.n | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/menu.n b/doc/menu.n index df8614b..42d1775 100644 --- a/doc/menu.n +++ b/doc/menu.n @@ -343,13 +343,12 @@ nothing to happen in the widget command. Same as \fB{}\fR This form may not be abbreviated. .TP 12 -\fB@\fInumber\fR +\fB@\fIx\fB,\fIy\fR . -In this form, \fInumber\fR is treated as a y-coordinate in the -menu's window; the entry closest to that y-coordinate is used. -For example, -.QW \fB@0\fR -indicates the top-most entry in the window. +Indicates the entry that covers the point in the menu's window specified +by \fIx\fR and \fIy\fR (in pixel coordinates). +If no entry covers that point, then this form is equivalent to \fB{}\fR. +If only a single number is specified, it is treated as the y-coordinate. .TP 12 \fInumber\fR . -- cgit v0.12