summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-09 13:42:46 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-09 13:42:46 (GMT)
commit16a463a4eb33a7d69b47b2b4ae6203876db04b09 (patch)
tree352d681f0771cf213c75bd5f0b289532bfb757ca /generic
parent8313aaf2d2c39dd94d04766a10a0207c682790e2 (diff)
downloadtk-16a463a4eb33a7d69b47b2b4ae6203876db04b09.zip
tk-16a463a4eb33a7d69b47b2b4ae6203876db04b09.tar.gz
tk-16a463a4eb33a7d69b47b2b4ae6203876db04b09.tar.bz2
Better comment explaining why some events are ignored.bug_7a838c38a1
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 525e13e..567c51f 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -1261,9 +1261,9 @@ Tk_BindEvent(
}
/*
- * Ignore event types which are not in flagArray. Most notably,
- * NoExpose events can fill the ring buffer and disturb (thus
- * masking out) event sequences of interest.
+ * Ignore event types which are not in flagArray and all zeroes there.
+ * Most notably, NoExpose events can fill the ring buffer and disturb
+ * (thus masking out) event sequences of interest.
*/
if ((eventPtr->type >= TK_LASTEVENT) || !flagArray[eventPtr->type]) {