From 965c919f98ea394a333034d50831997c69feb1e5 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Mon, 24 Jan 2022 10:33:23 +0000 Subject: [PATCH] gdb/doc: improve description for Window.click on Python TUI windows The description of the Window.click method doesn't mention where the coordinates are anchored (it's the top left corner). This minor tweak just mentions this point. --- 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. @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 @node Python Auto-loading -- 2.30.2