summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-10-15 20:37:17 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-10-15 20:37:17 (GMT)
commit2c8c0c4a4fdbeb373c95d3e00581373040e1f83d (patch)
treebec10ca3c1fef049395416853948b3dabcf6f76b /macosx
parent1b183e45908ee881f08e7418e1f2dca355112a4b (diff)
downloadtk-2c8c0c4a4fdbeb373c95d3e00581373040e1f83d.zip
tk-2c8c0c4a4fdbeb373c95d3e00581373040e1f83d.tar.gz
tk-2c8c0c4a4fdbeb373c95d3e00581373040e1f83d.tar.bz2
Fix comment in tkMacOSXTest.c because it did not follow the successive changes in how we signal testing events to tkProcessMouseEvent.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXTest.c b/macosx/tkMacOSXTest.c
index 164576a..3f178c3 100644
--- a/macosx/tkMacOSXTest.c
+++ b/macosx/tkMacOSXTest.c
@@ -174,7 +174,7 @@ TkTestLogDisplay(
* location. It injects NSEvents into the NSApplication event queue, as
* opposed to adding events to the Tcl queue as event generate would do.
* One application is for testing the grab command. These events have
- * their unused context property set to 1 as a signal indicating that they
+ * their timestamp property set to 0 as a signal indicating that they
* should not be ignored by [NSApp tkProcessMouseEvent].
*
* Results:
@@ -229,7 +229,7 @@ PressButtonObjCmd(
loc.y = ScreenHeight - y;
/*
- * We set the timestamp to 0 as a signal to processMouseEvent.
+ * We set the timestamp to 0 as a signal to tkProcessMouseEvent.
*/
CGWarpMouseCursorPosition(pt);