diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-01-24 10:33:23 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-01-24 15:33:55 +0000 |
commit | 965c919f98ea394a333034d50831997c69feb1e5 (patch) | |
tree | 71c5887c87a3f2b39a98a4c8399fd6900e91da73 /gdb/doc | |
parent | 5fe73d462421775201e92840ac72a8f8c8cb5c3d (diff) | |
download | binutils-gdb-965c919f98ea394a333034d50831997c69feb1e5.tar.gz |
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.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/python.texi | 6 |
1 files 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 |