]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/keyboard.c (readable_events): Add a comment.
authorEli Zaretskii <eliz@gnu.org>
Thu, 21 Oct 2021 07:53:20 +0000 (10:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 21 Oct 2021 07:53:20 +0000 (10:53 +0300)
src/keyboard.c

index 6895a249f22bce3924c805e3fd47e5ec707fcd25..a99d14cb4cf4e36acb7624c45a55837ee48b9408 100644 (file)
@@ -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