From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 11:28:49 2022 Received: (at submit) by debbugs.gnu.org; 14 May 2022 15:28:49 +0000 Received: from localhost ([127.0.0.1]:47224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npthH-0002B8-H5 for submit@debbugs.gnu.org; Sat, 14 May 2022 11:28:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:43514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npthE-0002Az-Sj for submit@debbugs.gnu.org; Sat, 14 May 2022 11:28:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npthE-0004vy-MG for bug-gnu-emacs@gnu.org; Sat, 14 May 2022 11:28:44 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:52710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npthA-0000Tz-I7 for bug-gnu-emacs@gnu.org; Sat, 14 May 2022 11:28:44 -0400 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by wilbur.contactoffice.com (Postfix) with ESMTP id 3E262DC1 for ; Sat, 14 May 2022 17:28:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1652542116; s=20210208-e7xh; d=mailfence.com; i=derek_upham@mailfence.com; h=From:Date:Message-ID:MIME-Version:Content-Type; l=25109; bh=s+PAKuHVWQWrPT7AIUuz77cRR89f/JVseoXcY6iTneA=; b=Pk3kRaZNw3Zd94cylIBFEqlxcloE6yNIMV0VY5RjyZQbAnZu0Hwn2JLcoAQ/ewiY wZJbi7SO34tea0GLzag+QkZbg3c+cupkR2LPotdnl8tFdVX9twSc0502z5PWIJPn0fD GjQBSGVeF3QZq5Z0Rg04NqLUlCCzf+56Wos/KLGNnNPSdxd48It3eE2AHGEVdd07W2v ZmO1nEpSfBbVRseCrzT1wD1ZuV3Mddj6jsakqfuPIcZZXmxgYchtkKpFQEl5pU9102A sJzxxEUYNO1aUzHw1CpvL5uJ4ZXXYpHDASUvGq9bAtKCxE5nUjZcNdIoGgr/orZMg1p /TjjPFsHpA== Received: by smtp.mailfence.com with ESMTPSA for ; Sat, 14 May 2022 17:28:29 +0200 (CEST) Received: from [::1] (helo=priss.frightenedpiglet.com) by priss.frightenedpiglet.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nptgx-0001Pw-BK for bug-gnu-emacs@gnu.org; Sat, 14 May 2022 08:28:27 -0700 From: Derek Upham To: bug-gnu-emacs@gnu.org Subject: 29.0.50; handle_one_xevent (xterm.c) incorrectly considers button 8 as a wheel Date: Sat, 14 May 2022 08:28:26 -0700 Message-ID: <878rr49lr9.fsf@priss.frightenedpiglet.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00, T_SCC_BODY_TEXT_LINE device=10.2.0.1 X-ContactOffice-Account: com:175140567 Received-SPF: pass client-ip=212.3.242.68; envelope-from=derek_upham@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) The handle_one_xevent function in xterm.c has code to re-interpret X11 button events as wheel events: if (xev->detail >= 4 && xev->detail <= 8) { if (xev->evtype == XI_ButtonRelease) { if (xev->detail <= 5) inev.ie.kind = WHEEL_EVENT; else inev.ie.kind = HORIZ_WHEEL_EVENT; The current logic assigns buttons 4 and 5 to WHEEL_EVENT, and buttons 6, 7, *and* 8 as horizontal wheel events. The libinput(4) manual says the following in its section "BUTTON MAPPING": X clients receive events with logical button numbers, where 1, 2, 3 are usually interpreted as left, middle, right and logical buttons 4, 5, 6, 7 are usually interpreted as scroll up, down, left, right. The fourth and fifth physical buttons on a device will thus send logical buttons 8 and 9. This means Emacs doesn't follow the X11 conventions around scroll buttons. My particular failure mode is with a Perfit Contour Mouse, which has three standard buttons (1, 2, 3), a vertical wheel (4, 5) and a hat switch (8, 9). Emacs interprets one hat switch direction as a horizontal wheel event (button 8), while the other switch direction is a normal button (button 9). The GTK code has a comparable bug, with different numbers and comparison operators: if (xev->detail > 3 && xev->detail < 9 && f) { if (xev->evtype == XI_ButtonRelease) { if (FRAME_X_WINDOW (f) != xev->event) XTranslateCoordinates (dpyinfo->display, xev->event, FRAME_X_WINDOW (f), real_x, real_y, &real_x, &real_y, &child); if (xev->detail <= 5) inev.ie.kind = WHEEL_EVENT; else inev.ie.kind = HORIZ_WHEEL_EVENT; In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-05-09, unofficial emacs-snapshot build: http://emacs.secretsauce.net built on lilbastard Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-native-compilation --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/29.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.0.50/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-native-compilation --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/29.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.0.50/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-imagemagick --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-snapshot-Bw8doU/emacs-snapshot-20220509+emacs-28.1-155718-g6fc54786c3b=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C/*lahw Minor modes in effect: bug-reference-prog-mode: t which-function-mode: t subword-mode: t amx-mode: t shell-dirtrack-mode: t global-corfu-mode: t corfu-mode: t icomplete-vertical-mode: t icomplete-mode: t minibuffer-depth-indicate-mode: t minibuffer-electric-default-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: ~/.elisp-local/slime-autoloads hides /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-autoloads ~/.elisp-local/slime hides /home/sand/.emacs.d/elpa/slime-20220302.1215/slime /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-vm-aux hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-vm-aux /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-snarf hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-snarf /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-pgp hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-pgp /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-gnus hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-gnus /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-anniv hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-anniv /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-migrate hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-migrate /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-message hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-message /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-gnus-aux hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-gnus-aux /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-wl hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-wl /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-pkg hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-pkg /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-ispell hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-ispell /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-mua hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-mua /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-sc hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-sc /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-mhe hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-mhe /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-site hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-site /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-com hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-com /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-rmail hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-rmail /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-tex hides /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-tex /home/sand/.emacs.d/elpa/miniedit-20100419.1745/miniedit hides /usr/share/emacs/29.0.50/site-lisp/emacs-goodies-el/miniedit /home/sand/.emacs.d/elpa/htmlize-20210825.2150/htmlize hides /usr/share/emacs/29.0.50/site-lisp/emacs-goodies-el/htmlize /home/sand/src/x11/sawfish-git/sawfish hides /usr/share/emacs/29.0.50/site-lisp/sawfish/sawfish /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-pkg hides /usr/share/emacs/29.0.50/site-lisp/elpa/slime-2.27/slime-pkg /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-tests hides /usr/share/emacs/29.0.50/site-lisp/elpa/slime-2.27/slime-tests ~/.elisp-local/slime-autoloads hides /usr/share/emacs/29.0.50/site-lisp/elpa/slime-2.27/slime-autoloads ~/.elisp-local/slime hides /usr/share/emacs/29.0.50/site-lisp/elpa/slime-2.27/slime ~/.elisp-local/slime-repl hides /usr/share/emacs/29.0.50/site-lisp/elpa/slime-2.27/contrib/slime-repl /usr/share/emacs/29.0.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-pgp hides /usr/share/emacs/site-lisp/bbdb3/bbdb-pgp /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-anniv hides /usr/share/emacs/site-lisp/bbdb3/bbdb-anniv /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-message hides /usr/share/emacs/site-lisp/bbdb3/bbdb-message /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-gnus-aux hides /usr/share/emacs/site-lisp/bbdb3/bbdb-gnus-aux /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-pkg hides /usr/share/emacs/site-lisp/bbdb3/bbdb-pkg /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-mua hides /usr/share/emacs/site-lisp/bbdb3/bbdb-mua /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-vm-aux hides /usr/share/emacs/site-lisp/bbdb3/bbdb-vm-aux /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-site hides /usr/share/emacs/site-lisp/bbdb3/bbdb-site /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb3/bbdb-snarf /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-wl hides /usr/share/emacs/site-lisp/bbdb3/bbdb-wl /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-ispell hides /usr/share/emacs/site-lisp/bbdb3/bbdb-ispell /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb3/bbdb-mhe /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb3/bbdb-sc /usr/share/emacs/29.0.50/site-lisp/bbdb3/bbdb-loaddefs hides /usr/share/emacs/site-lisp/bbdb3/bbdb-loaddefs /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb3/bbdb-vm /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-mu4e hides /usr/share/emacs/site-lisp/bbdb3/bbdb-mu4e /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-com hides /usr/share/emacs/site-lisp/bbdb3/bbdb-com /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb3/bbdb-rmail /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb3/bbdb-gnus /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb hides /usr/share/emacs/site-lisp/bbdb3/bbdb /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb3/bbdb-migrate /home/sand/.emacs.d/elpa/bbdb-20220416.405/bbdb-tex hides /usr/share/emacs/site-lisp/bbdb3/bbdb-tex /home/sand/src/x11/sawfish-git/sawfish hides /usr/share/emacs/site-lisp/sawfish/sawfish /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-pkg hides /usr/share/emacs/site-lisp/elpa/slime-2.27/slime-pkg /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-tests hides /usr/share/emacs/site-lisp/elpa/slime-2.27/slime-tests ~/.elisp-local/slime-autoloads hides /usr/share/emacs/site-lisp/elpa/slime-2.27/slime-autoloads ~/.elisp-local/slime hides /usr/share/emacs/site-lisp/elpa/slime-2.27/slime /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-pkg hides /usr/share/emacs/site-lisp/elpa-src/slime-2.27/slime-pkg /home/sand/.emacs.d/elpa/slime-20220302.1215/slime-tests hides /usr/share/emacs/site-lisp/elpa-src/slime-2.27/slime-tests ~/.elisp-local/slime-autoloads hides /usr/share/emacs/site-lisp/elpa-src/slime-2.27/slime-autoloads ~/.elisp-local/slime hides /usr/share/emacs/site-lisp/elpa-src/slime-2.27/slime /home/sand/.emacs.d/elpa/transient-20220503.1118/transient hides /usr/share/emacs/29.0.50/lisp/transient /home/sand/.emacs.d/elpa/org-20210913/ob-sed hides /usr/share/emacs/29.0.50/lisp/org/ob-sed /home/sand/.emacs.d/elpa/org-20210913/org-duration hides /usr/share/emacs/29.0.50/lisp/org/org-duration /home/sand/.emacs.d/elpa/org-20210913/ob-tangle hides /usr/share/emacs/29.0.50/lisp/org/ob-tangle /home/sand/.emacs.d/elpa/org-20210913/ol-eww hides /usr/share/emacs/29.0.50/lisp/org/ol-eww /home/sand/.emacs.d/elpa/org-20210913/org-macro hides /usr/share/emacs/29.0.50/lisp/org/org-macro /home/sand/.emacs.d/elpa/org-20210913/org-colview hides /usr/share/emacs/29.0.50/lisp/org/org-colview /home/sand/.emacs.d/elpa/org-20210913/org-datetree hides /usr/share/emacs/29.0.50/lisp/org/org-datetree /home/sand/.emacs.d/elpa/org-20210913/ox-icalendar hides /usr/share/emacs/29.0.50/lisp/org/ox-icalendar /home/sand/.emacs.d/elpa/org-20210913/ob-lisp hides /usr/share/emacs/29.0.50/lisp/org/ob-lisp /home/sand/.emacs.d/elpa/org-20210913/ol-irc hides /usr/share/emacs/29.0.50/lisp/org/ol-irc /home/sand/.emacs.d/elpa/org-20210913/org-pcomplete hides /usr/share/emacs/29.0.50/lisp/org/org-pcomplete /home/sand/.emacs.d/elpa/org-20210913/ob-lilypond hides /usr/share/emacs/29.0.50/lisp/org/ob-lilypond /home/sand/.emacs.d/elpa/org-20210913/org-num hides /usr/share/emacs/29.0.50/lisp/org/org-num /home/sand/.emacs.d/elpa/org-20210913/org-mobile hides /usr/share/emacs/29.0.50/lisp/org/org-mobile /home/sand/.emacs.d/elpa/org-20210913/org-crypt hides /usr/share/emacs/29.0.50/lisp/org/org-crypt /home/sand/.emacs.d/elpa/org-20210913/ob-forth hides /usr/share/emacs/29.0.50/lisp/org/ob-forth /home/sand/.emacs.d/elpa/org-20210913/ox-man hides /usr/share/emacs/29.0.50/lisp/org/ox-man /home/sand/.emacs.d/elpa/org-20210913/org-attach-git hides /usr/share/emacs/29.0.50/lisp/org/org-attach-git /home/sand/.emacs.d/elpa/org-20210913/ob-js hides /usr/share/emacs/29.0.50/lisp/org/ob-js /home/sand/.emacs.d/elpa/org-20210913/ob-eshell hides /usr/share/emacs/29.0.50/lisp/org/ob-eshell /home/sand/.emacs.d/elpa/org-20210913/ob-gnuplot hides /usr/share/emacs/29.0.50/lisp/org/ob-gnuplot /home/sand/.emacs.d/elpa/org-20210913/org-keys hides /usr/share/emacs/29.0.50/lisp/org/org-keys /home/sand/.emacs.d/elpa/org-20210913/ob-dot hides /usr/share/emacs/29.0.50/lisp/org/ob-dot /home/sand/.emacs.d/elpa/org-20210913/org-protocol hides /usr/share/emacs/29.0.50/lisp/org/org-protocol /home/sand/.emacs.d/elpa/org-20210913/ol-bibtex hides /usr/share/emacs/29.0.50/lisp/org/ol-bibtex /home/sand/.emacs.d/elpa/org-20210913/ob-latex hides /usr/share/emacs/29.0.50/lisp/org/ob-latex /home/sand/.emacs.d/elpa/org-20210913/org-attach hides /usr/share/emacs/29.0.50/lisp/org/org-attach /home/sand/.emacs.d/elpa/org-20210913/org-tempo hides /usr/share/emacs/29.0.50/lisp/org/org-tempo /home/sand/.emacs.d/elpa/org-20210913/ob-maxima hides /usr/share/emacs/29.0.50/lisp/org/ob-maxima /home/sand/.emacs.d/elpa/org-20210913/ob-css hides /usr/share/emacs/29.0.50/lisp/org/ob-css /home/sand/.emacs.d/elpa/org-20210913/ob-haskell hides /usr/share/emacs/29.0.50/lisp/org/ob-haskell /home/sand/.emacs.d/elpa/org-20210913/ob-matlab hides /usr/share/emacs/29.0.50/lisp/org/ob-matlab /home/sand/.emacs.d/elpa/org-20210913/org-compat hides /usr/share/emacs/29.0.50/lisp/org/org-compat /home/sand/.emacs.d/elpa/org-20210913/ob-awk hides /usr/share/emacs/29.0.50/lisp/org/ob-awk /home/sand/.emacs.d/elpa/org-20210913/ol-gnus hides /usr/share/emacs/29.0.50/lisp/org/ol-gnus /home/sand/.emacs.d/elpa/org-20210913/ox-html hides /usr/share/emacs/29.0.50/lisp/org/ox-html /home/sand/.emacs.d/elpa/org-20210913/ol-mhe hides /usr/share/emacs/29.0.50/lisp/org/ol-mhe /home/sand/.emacs.d/elpa/org-20210913/ob-org hides /usr/share/emacs/29.0.50/lisp/org/ob-org /home/sand/.emacs.d/elpa/org-20210913/ob-sass hides /usr/share/emacs/29.0.50/lisp/org/ob-sass /home/sand/.emacs.d/elpa/org-20210913/org-faces hides /usr/share/emacs/29.0.50/lisp/org/org-faces /home/sand/.emacs.d/elpa/org-20210913/org-entities hides /usr/share/emacs/29.0.50/lisp/org/org-entities /home/sand/.emacs.d/elpa/org-20210913/ob-C hides /usr/share/emacs/29.0.50/lisp/org/ob-C /home/sand/.emacs.d/elpa/org-20210913/ob-java hides /usr/share/emacs/29.0.50/lisp/org/ob-java /home/sand/.emacs.d/elpa/org-20210913/ob-makefile hides /usr/share/emacs/29.0.50/lisp/org/ob-makefile /home/sand/.emacs.d/elpa/org-20210913/ob-shell hides /usr/share/emacs/29.0.50/lisp/org/ob-shell /home/sand/.emacs.d/elpa/org-20210913/ob-sqlite hides /usr/share/emacs/29.0.50/lisp/org/ob-sqlite /home/sand/.emacs.d/elpa/org-20210913/ob-screen hides /usr/share/emacs/29.0.50/lisp/org/ob-screen /home/sand/.emacs.d/elpa/org-20210913/org hides /usr/share/emacs/29.0.50/lisp/org/org /home/sand/.emacs.d/elpa/org-20210913/ox hides /usr/share/emacs/29.0.50/lisp/org/ox /home/sand/.emacs.d/elpa/org-20210913/ox-texinfo hides /usr/share/emacs/29.0.50/lisp/org/ox-texinfo /home/sand/.emacs.d/elpa/org-20210913/ol-bbdb hides /usr/share/emacs/29.0.50/lisp/org/ol-bbdb /home/sand/.emacs.d/elpa/org-20210913/org-loaddefs hides /usr/share/emacs/29.0.50/lisp/org/org-loaddefs /home/sand/.emacs.d/elpa/org-20210913/ob-perl hides /usr/share/emacs/29.0.50/lisp/org/ob-perl /home/sand/.emacs.d/elpa/org-20210913/org-lint hides /usr/share/emacs/29.0.50/lisp/org/org-lint /home/sand/.emacs.d/elpa/org-20210913/org-goto hides /usr/share/emacs/29.0.50/lisp/org/org-goto /home/sand/.emacs.d/elpa/org-20210913/org-timer hides /usr/share/emacs/29.0.50/lisp/org/org-timer /home/sand/.emacs.d/elpa/org-20210913/ol hides /usr/share/emacs/29.0.50/lisp/org/ol /home/sand/.emacs.d/elpa/org-20210913/ob-ref hides /usr/share/emacs/29.0.50/lisp/org/ob-ref /home/sand/.emacs.d/elpa/org-20210913/org-clock hides /usr/share/emacs/29.0.50/lisp/org/org-clock /home/sand/.emacs.d/elpa/org-20210913/ox-odt hides /usr/share/emacs/29.0.50/lisp/org/ox-odt /home/sand/.emacs.d/elpa/org-20210913/ol-rmail hides /usr/share/emacs/29.0.50/lisp/org/ol-rmail /home/sand/.emacs.d/elpa/org-20210913/ob-processing hides /usr/share/emacs/29.0.50/lisp/org/ob-processing /home/sand/.emacs.d/elpa/org-20210913/org-src hides /usr/share/emacs/29.0.50/lisp/org/org-src /home/sand/.emacs.d/elpa/org-20210913/ob-eval hides /usr/share/emacs/29.0.50/lisp/org/ob-eval /home/sand/.emacs.d/elpa/org-20210913/org-habit hides /usr/share/emacs/29.0.50/lisp/org/org-habit /home/sand/.emacs.d/elpa/org-20210913/ox-beamer hides /usr/share/emacs/29.0.50/lisp/org/ox-beamer /home/sand/.emacs.d/elpa/org-20210913/ob-core hides /usr/share/emacs/29.0.50/lisp/org/ob-core /home/sand/.emacs.d/elpa/org-20210913/ox-md hides /usr/share/emacs/29.0.50/lisp/org/ox-md /home/sand/.emacs.d/elpa/org-20210913/ob-emacs-lisp hides /usr/share/emacs/29.0.50/lisp/org/ob-emacs-lisp /home/sand/.emacs.d/elpa/org-20210913/ox-latex hides /usr/share/emacs/29.0.50/lisp/org/ox-latex /home/sand/.emacs.d/elpa/org-20210913/ob-lob hides /usr/share/emacs/29.0.50/lisp/org/ob-lob /home/sand/.emacs.d/elpa/org-20210913/ob hides /usr/share/emacs/29.0.50/lisp/org/ob /home/sand/.emacs.d/elpa/org-20210913/ob-python hides /usr/share/emacs/29.0.50/lisp/org/ob-python /home/sand/.emacs.d/elpa/org-20210913/ob-groovy hides /usr/share/emacs/29.0.50/lisp/org/ob-groovy /home/sand/.emacs.d/elpa/org-20210913/org-version hides /usr/share/emacs/29.0.50/lisp/org/org-version /home/sand/.emacs.d/elpa/org-20210913/org-ctags hides /usr/share/emacs/29.0.50/lisp/org/org-ctags /home/sand/.emacs.d/elpa/org-20210913/org-inlinetask hides /usr/share/emacs/29.0.50/lisp/org/org-inlinetask /home/sand/.emacs.d/elpa/org-20210913/ob-ruby hides /usr/share/emacs/29.0.50/lisp/org/ob-ruby /home/sand/.emacs.d/elpa/org-20210913/ob-plantuml hides /usr/share/emacs/29.0.50/lisp/org/ob-plantuml /home/sand/.emacs.d/elpa/org-20210913/ob-scheme hides /usr/share/emacs/29.0.50/lisp/org/ob-scheme /home/sand/.emacs.d/elpa/org-20210913/ob-comint hides /usr/share/emacs/29.0.50/lisp/org/ob-comint /home/sand/.emacs.d/elpa/org-20210913/ob-calc hides /usr/share/emacs/29.0.50/lisp/org/ob-calc /home/sand/.emacs.d/elpa/org-20210913/org-list hides /usr/share/emacs/29.0.50/lisp/org/org-list /home/sand/.emacs.d/elpa/org-20210913/ob-R hides /usr/share/emacs/29.0.50/lisp/org/ob-R /home/sand/.emacs.d/elpa/org-20210913/org-agenda hides /usr/share/emacs/29.0.50/lisp/org/org-agenda /home/sand/.emacs.d/elpa/org-20210913/ob-table hides /usr/share/emacs/29.0.50/lisp/org/ob-table /home/sand/.emacs.d/elpa/org-20210913/ol-eshell hides /usr/share/emacs/29.0.50/lisp/org/ol-eshell /home/sand/.emacs.d/elpa/org-20210913/org-element hides /usr/share/emacs/29.0.50/lisp/org/org-element /home/sand/.emacs.d/elpa/org-20210913/ob-exp hides /usr/share/emacs/29.0.50/lisp/org/ob-exp /home/sand/.emacs.d/elpa/org-20210913/ob-clojure hides /usr/share/emacs/29.0.50/lisp/org/ob-clojure /home/sand/.emacs.d/elpa/org-20210913/ol-w3m hides /usr/share/emacs/29.0.50/lisp/org/ol-w3m /home/sand/.emacs.d/elpa/org-20210913/ol-docview hides /usr/share/emacs/29.0.50/lisp/org/ol-docview /home/sand/.emacs.d/elpa/org-20210913/ob-ocaml hides /usr/share/emacs/29.0.50/lisp/org/ob-ocaml /home/sand/.emacs.d/elpa/org-20210913/org-feed hides /usr/share/emacs/29.0.50/lisp/org/org-feed /home/sand/.emacs.d/elpa/org-20210913/org-archive hides /usr/share/emacs/29.0.50/lisp/org/org-archive /home/sand/.emacs.d/elpa/org-20210913/org-indent hides /usr/share/emacs/29.0.50/lisp/org/org-indent /home/sand/.emacs.d/elpa/org-20210913/org-mouse hides /usr/share/emacs/29.0.50/lisp/org/org-mouse /home/sand/.emacs.d/elpa/org-20210913/org-table hides /usr/share/emacs/29.0.50/lisp/org/org-table /home/sand/.emacs.d/elpa/org-20210913/ob-lua hides /usr/share/emacs/29.0.50/lisp/org/ob-lua /home/sand/.emacs.d/elpa/org-20210913/ox-ascii hides /usr/share/emacs/29.0.50/lisp/org/ox-ascii /home/sand/.emacs.d/elpa/org-20210913/org-footnote hides /usr/share/emacs/29.0.50/lisp/org/org-footnote /home/sand/.emacs.d/elpa/org-20210913/ob-sql hides /usr/share/emacs/29.0.50/lisp/org/ob-sql /home/sand/.emacs.d/elpa/org-20210913/org-id hides /usr/share/emacs/29.0.50/lisp/org/org-id /home/sand/.emacs.d/elpa/org-20210913/ol-info hides /usr/share/emacs/29.0.50/lisp/org/ol-info /home/sand/.emacs.d/elpa/org-20210913/org-capture hides /usr/share/emacs/29.0.50/lisp/org/org-capture /home/sand/.emacs.d/elpa/org-20210913/ob-fortran hides /usr/share/emacs/29.0.50/lisp/org/ob-fortran /home/sand/.emacs.d/elpa/org-20210913/ox-org hides /usr/share/emacs/29.0.50/lisp/org/ox-org /home/sand/.emacs.d/elpa/org-20210913/ox-publish hides /usr/share/emacs/29.0.50/lisp/org/ox-publish /home/sand/.emacs.d/elpa/org-20210913/ob-octave hides /usr/share/emacs/29.0.50/lisp/org/ob-octave /home/sand/.emacs.d/elpa/org-20210913/org-refile hides /usr/share/emacs/29.0.50/lisp/org/org-refile /home/sand/.emacs.d/elpa/org-20210913/org-macs hides /usr/share/emacs/29.0.50/lisp/org/org-macs /home/sand/.emacs.d/elpa/org-20210913/org-plot hides /usr/share/emacs/29.0.50/lisp/org/org-plot /home/sand/.emacs.d/elpa/org-20210913/ob-ditaa hides /usr/share/emacs/29.0.50/lisp/org/ob-ditaa /home/sand/.emacs.d/elpa/org-20210913/org-install hides /usr/share/emacs/29.0.50/lisp/org/org-install Features: (shadow sort rfc1345 quail mail-extr emacsbug message yank-media rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils xref project pulse color files-x grep compile cl-print thingatpt magit-base magit-section format-spec crm dash compat-27 compat-26 compat mule-util jka-compr aggressive-indent paredit-menu paredit edmacro misearch multi-isearch add-log vc-git diff-mode vc vc-dispatcher bug-reference macrostep-c cmacexp macrostep which-func imenu cap-words superword subword cedet cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs two-column kmacro amx shell pcomplete comint ansi-color dired-aux dired-x dired dired-loaddefs shortdoc text-property-search ido-completing-read+ memoize cus-edit pp cus-start cus-load wid-edit ido modus-operandi-theme corfu org-install bbdb bbdb-site timezone bbdb-autoloads emacs-env-desktop-mu4e emacs-macros emacs-common thunk org-loaddefs icomplete image-file image-converter mb-depth minibuf-eldef modus-themes pcase s emacs-utils library-init geiser-impl help-fns radix-tree geiser-custom geiser-base ring comp comp-cstr warnings rx cl-extra help-mode easy-mmode slime-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 428510 26938) (symbols 48 23100 0) (strings 32 79197 7603) (string-bytes 1 2970873) (vectors 16 38001) (vector-slots 8 689549 19033) (floats 8 261 448) (intervals 56 13369 0) (buffers 992 21)) -- Derek Upham derek_upham@mailfence.com From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 21:03:53 2022 Received: (at 55411-done) by debbugs.gnu.org; 15 May 2022 01:03:53 +0000 Received: from localhost ([127.0.0.1]:47748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq2fp-0005eJ-FZ for submit@debbugs.gnu.org; Sat, 14 May 2022 21:03:53 -0400 Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:35971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq2fm-0005e6-NN for 55411-done@debbugs.gnu.org; Sat, 14 May 2022 21:03:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652576624; bh=Yekl/Z1k9Mn5GIX/jXRQ4amn6d4AGTKKpUdfwHkwIw8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=iwtIfMPtDpVyTGzR70zfWXFA9UxtjG6FF+gBEz6RPXRuU9ljU4DIXkAO+DwzOJ/5ODCFMVwKJE8QPHYALQU47dZIOwRcEUtCP/wX0nc9ymQgSf6ckz7Uq+j8tsu6rTwC7EhXU6zTu0KFRMI7r3CpSsGUAXLusn5gjjT3m1me3CJjeZgb+sS5H5B76dQDb1jgC08NZtEGj7MQZFE+ywqaxWBONJvq5QOMwjfrv1jPIOzYuE9ZKy50dzQKhoqPKtGnSV6NHMS9QqMKhYrFLSL5PYRwXOudlPi9CvXJb/rsuuHJ12HOQdDV3fgVKDQe3yMOxJaKgTbvuozwEm7kZ8p9lg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652576624; bh=auU63P09b8rE9EomCMYIhNUP8f0JKfLspEwDegVs97J=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=e16sjZbRKfuYMG0GV9qhPhVMWM+ZlN+0//Ysq8C7SRBpwIzr+sFzVl9uAjGZVUh3tfDviy4WzqsAcr71wKdbSN0DzjhGOQK9Kj73qUA1K0qLCJI1lujOh+c3hfwjmcZgLkyXrVUEFs+bKMZ5ELkup8r6J5czB1F+KjGo275WxwD3KohqROc7OxLWNnWBLsyh8E1wdiOwMzca2K3CzbJipfDohHtEDgeWF94uxBG5hjegooaS6Uhy5ApmyNSVpDz/vNCWBCGapPwZ5MkHo+WbfkUgKzjAy3wnuJUS1c19RlDKTjyyfgTmie4NYI5otWXDiqRkt2M/qQP5Zmb3yUoaSA== X-YMail-OSG: .Iom814VM1nbadSLc8KvsEbGoovqph7WeVYSXl8sFfMc_tIKQM3OI79o_xAE_aq 8V95oBKssvHd_MiisOx7G3gTko.yBNDJyWoF7TM6Y4twiQKM.mH3n9oTdreFPx3LlaFL7dwAhMJ1 WioAMT_L15KRlfM4JULqksZIb2WT3iSXJrQFackw38CUb.XjFFbPHZWa4kquJITUQxZ6FVUSMvts FURcNJ5OEdIDW22zpLzCy0_OA_7JYSIto.fnxN_uaB4RUqL0DqSTiX52.I1NHPdTCCYuVWlW9_eH ckkaKIceE_I44NE3t3OlJRa0fxFYIObzLgUoz84WOjzfTaynfoa26Zfb9xa7gpxLoacdnobQrcM0 _JpphfwY8H64KR6Imq9WTYz.ylyf4OuAldMVHDH4h2J5qevauDrT.5Ol12Td6mP0K6z4s0hYI7gX raJDWSy9tNwCGDGxW7ZhN9SfeuKmy4oyD1EkYIlwh98yjnp9jshBV93QsiE7okHiOgobS7GsM.JZ gBBTpSmzDDQMLwzNAVQw1BlhGrK0Rc4_tWvJflYU3hVPauN3h.9Zcj1wyF2OAZjo0zKBhCWNIqzd jFjNz_86KSuCdx9ODRHh9l8WQB00JKINjPcvhiq4aseqL20lXktkQUP3dhhcYJKk2tnL9BgDkoLd oBuVy5ttnC3bYD7KOaSmdMo06NHckJc1XXPyMZMg0fc39xqQviG3hxD2RQbI6t8EdrgR9CrX6MBO Hdxw_gH4rnw7ZqsLfBpK.VMmb0JeE1.0LQey1uxQaF5yuGMCld5qXbjMBBacNpbUrL6bOpj9tcPz r0Pga1_3XYeoOj1hxqsICjG3KqN36k_cnNTuthC0zTjqI8aVkkOHXed7eWBT3UmzfMkxU8AkehL6 MZbfwJRQ_j5YNAvePs_0JrKk6GIxS0oEu5Mvg3br8l6aG_4PevKQ9Xhxm8aCcYxOQA8Etgn_vJ6t r1LywugJccFUHikUfQ3u5vgsaDbr9fpsKYsxUXIa5GanBG3SuN5fY6UQCIg6YVR082i_bXg1Nl4n K4bGPYEfg8479foKZm41Fhnh.GUXbR18HFd1F8hR7fuzHRz9_vDKepc1YSVxpFqADyAd8mwC6ZNs bdGItZVXEtt8N85CjCCCvEeDNEJ7pbuCJIp6WnNP5rMwAJiItH3uogj0pUnTq.xSkdErJijvAtb. xRirVdrDr1fLEcU2tMPhQyZaQvP6iWFaeguexmLmBt95Z49UgUm2MRGeImAIB4PeF7maUsCwaFO. 2mBv_dRCFznb44_a90HAMY5VxBlNS9SFi8yQ9F3OVrUIisIgKYNCHAgt5pWfiC8yPbhQ8uRdvbwf A.HlCyTyHJiQ1bnHpynRdJ9Zh9gJBhIJ03zHm.yIhtfrwPyXtFghdlmFaedGLrAJO8Z7stkM99nk hJyJShknhwf4hIJiDOUwEmbv_0zmMNuBKthilbPo8roqxiSw2KFRW_S6Lt2stgV9nfbMwz.EXkRc fbgw4nJaUvF7uUQ.x73E8tIQI98b29uVeSrnIib6gZcmLjy27D4wulISJGv2oQirF6zR62OVJzRm OumbFIAscLKXihR8XZasi_vX8evdBfGU_HcAK5rRRYL1DyFVnk9kvH_uc1Q0fldeBWs8N7Ik0ZC9 WFGOC2DIaqIyp3QetRUqzpOxvamjUwHfEshj67impAQ_QwtGGQV39q9P.47oScr1W2ilnvEBl_Lx d_03SXmjmUVr5nvgrrNxavEx9OFXNFhnR51WVD66rWl_pdFbH8HLDfSPlYo1ETBA_eSy_Ik6NiZZ ndFAXwhlx71Ylp2UKpYjtcpUeRXh2Ax.15nF.9c0DzK7hb8zK8aC0OyUqYlK0_7XvKygPi4XK2AJ istMA4HWqNXl9Pb7W0fLRa08zmCjmJIH.2tbS9zwvOfcuoq7V7Naopd1e7PjtmWemOs.6ufTBnSf 72oIpSfdP7cy2aehiVz3o7HmUigz7shtDFW8xBHjFlFNzCmGhz_WeR2KlXotm6_E2a8ENr3RuXOB Jwzx35_YpmSjIjklUeQAqfcgFsO7BrEMr6OeljkHSQswP5fkjIu2yDrVOh.8u2mxgBdERgkuzssE er0RJuU8gT7_vZm_Bte5DL2Zz6MMqvkRpV.tcBf74oXWqwyozn7hzyyfACuZdAF9cF7OD6IBtdHO w4bXw_W9JF5na_5_1wzcEHXjOEMnXTH48K7879IQL75gk5Yk1rDEblLify4PsjSfwc3d_UUeOtY0 IQ77Z9XPxBfruFqDxltVQ.qXZfshhjXDN.JNIlcHH0vzkdM6SZq53rlO.tBVnWw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sun, 15 May 2022 01:03:44 +0000 Received: by hermes--canary-production-sg3-856bf69955-wcgkh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9d7922c6e9443e59aa4381c71a4052cf; Sun, 15 May 2022 01:03:37 +0000 (UTC) From: Po Lu To: Derek Upham Subject: Re: bug#55411: 29.0.50; handle_one_xevent (xterm.c) incorrectly considers button 8 as a wheel References: <878rr49lr9.fsf@priss.frightenedpiglet.com> Date: Sun, 15 May 2022 09:03:32 +0800 In-Reply-To: <878rr49lr9.fsf@priss.frightenedpiglet.com> (Derek Upham's message of "Sat, 14 May 2022 08:28:26 -0700") Message-ID: <87wnensj2z.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20188 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 659 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55411-done Cc: 55411-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Derek Upham writes: > The handle_one_xevent function in xterm.c has code to re-interpret > X11 button events as wheel events: > > if (xev->detail >= 4 && xev->detail <= 8) > { > if (xev->evtype == XI_ButtonRelease) > { > if (xev->detail <= 5) > inev.ie.kind = WHEEL_EVENT; > else > inev.ie.kind = HORIZ_WHEEL_EVENT; > > The current logic assigns buttons 4 and 5 to WHEEL_EVENT, and buttons 6, 7, > *and* 8 as horizontal wheel events. Should be fixed now, thanks. (Also thanks for proving to me that people still use mice with more than 7 buttons.) From unknown Sat Jun 21 03:31:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 Jun 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator