From: Eli Zaretskii Date: Thu, 21 Oct 2021 07:53:20 +0000 (+0300) Subject: ; * src/keyboard.c (readable_events): Add a comment. X-Git-Tag: emacs-28.0.90~227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0545c70c16;p=emacs.git ; * src/keyboard.c (readable_events): Add a comment. --- diff --git a/src/keyboard.c b/src/keyboard.c index 6895a249f22..a99d14cb4cf 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3462,6 +3462,8 @@ readable_events (int flags) READABLE_EVENTS_FILTER_EVENTS is set, report it as empty. */ if (kbd_fetch_ptr != kbd_store_ptr) { + /* See https://lists.gnu.org/r/emacs-devel/2005-05/msg00297.html + for why we treat toolkit scroll-bar events specially here. */ if (flags & (READABLE_EVENTS_FILTER_EVENTS #ifdef USE_TOOLKIT_SCROLL_BARS | READABLE_EVENTS_IGNORE_SQUEEZABLES