summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-05-02 14:19:27 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-05-02 14:19:27 (GMT)
commit15e5fa342b580bd3d22f1c83bffc4ae1c171cf65 (patch)
treec35063590d3f8663df68c16160e5d2429ea2836d /generic
parent43fb1795b95fb9b238c5058d11dc7b4a415b6942 (diff)
downloadtk-15e5fa342b580bd3d22f1c83bffc4ae1c171cf65.zip
tk-15e5fa342b580bd3d22f1c83bffc4ae1c171cf65.tar.gz
tk-15e5fa342b580bd3d22f1c83bffc4ae1c171cf65.tar.bz2
Add comments
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index c1fdc0c..c665c97 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -59,7 +59,9 @@
/*
* In old implementation (the one that used an event ring), <Double-1> and <1><1> were
- * equivalent sequences. However it is logical to give <Double-1> higher precedence.
+ * equivalent sequences. However it is logical to give <Double-1> higher precedence
+ * since it is more specific. Indeed <Double-1> includes time and space requirements,
+ * which is not the case for <1><1>.
* This can be achieved by setting PREFER_MOST_SPECIALIZED_EVENT to 1.
*/
@@ -2192,7 +2194,7 @@ Tk_BindEvent(
* Ignore the event completely if it is an Enter, Leave, FocusIn, or
* FocusOut event with detail NotifyInferior. The reason for ignoring
* these events is that we don't want transitions between a window and its
- * children to visible to bindings on the parent: this would cause
+ * children to be visible to bindings on the parent: this would cause
* problems for mega-widgets, since the internal structure of a
* mega-widget isn't supposed to be visible to people watching the parent.
*