From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1726) id C91083858D39; Mon, 24 Jan 2022 15:34:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C91083858D39 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andrew Burgess To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/doc: improve description for Window.click on Python TUI windows X-Act-Checkin: binutils-gdb X-Git-Author: Andrew Burgess X-Git-Refname: refs/heads/master X-Git-Oldrev: 5fe73d462421775201e92840ac72a8f8c8cb5c3d X-Git-Newrev: 965c919f98ea394a333034d50831997c69feb1e5 Message-Id: <20220124153430.C91083858D39@sourceware.org> Date: Mon, 24 Jan 2022 15:34:30 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2022 15:34:30 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D965c919f98ea= 394a333034d50831997c69feb1e5 commit 965c919f98ea394a333034d50831997c69feb1e5 Author: Andrew Burgess Date: Mon Jan 24 10:33:23 2022 +0000 gdb/doc: improve description for Window.click on Python TUI windows =20 The description of the Window.click method doesn't mention where the coordinates are anchored (it's the top left corner). =20 This minor tweak just mentions this point. Diff: --- gdb/doc/python.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 6730de05143..f02380a27f4 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -6252,9 +6252,9 @@ and so the content should appear to move up. =20 @defun Window.click (@var{x}, @var{y}, @var{button}) This is called on a mouse click in this window. @var{x} and @var{y} are -the mouse coordinates inside the window (0-based), and @var{button} -specifies which mouse button was used, whose values can be 1 (left), -2 (middle), or 3 (right). +the mouse coordinates inside the window (0-based, from the top left +corner), and @var{button} specifies which mouse button was used, whose +values can be 1 (left), 2 (middle), or 3 (right). @end defun =20 @node Python Auto-loading