aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-01-24 10:33:23 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-01-24 15:33:55 +0000
commit965c919f98ea394a333034d50831997c69feb1e5 (patch)
tree71c5887c87a3f2b39a98a4c8399fd6900e91da73 /gdb
parent5fe73d462421775201e92840ac72a8f8c8cb5c3d (diff)
downloadgdb-965c919f98ea394a333034d50831997c69feb1e5.zip
gdb-965c919f98ea394a333034d50831997c69feb1e5.tar.gz
gdb-965c919f98ea394a333034d50831997c69feb1e5.tar.bz2
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')
-rw-r--r--gdb/doc/python.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 6730de0..f02380a 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