From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25842: 25.1; Mouse stops working after using Logitech mouse's minimize button Date: Tue, 06 Jul 2021 21:42:42 +0300 Message-ID: <838s2jffml.fsf@gnu.org> References: <83a89dtvz9.fsf@gnu.org> <877di3sccm.fsf@gnus.org> <83fswrfnbh.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16426"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 25842@debbugs.gnu.org, larsi@gnus.org To: Robert Ross Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 06 20:43:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0q2P-00044v-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jul 2021 20:43:17 +0200 Original-Received: from localhost ([::1]:42842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0q2O-0003gU-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jul 2021 14:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0q2A-0003g3-Cr for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 14:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0q2A-0001RT-5C for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0q2A-0001Mn-4o for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jul 2021 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25842 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 25842-submit@debbugs.gnu.org id=B25842.16255969605221 (code B ref 25842); Tue, 06 Jul 2021 18:43:02 +0000 Original-Received: (at 25842) by debbugs.gnu.org; 6 Jul 2021 18:42:40 +0000 Original-Received: from localhost ([127.0.0.1]:50196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0q1o-0001M8-EZ for submit@debbugs.gnu.org; Tue, 06 Jul 2021 14:42:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0q1m-0001Lv-7c for 25842@debbugs.gnu.org; Tue, 06 Jul 2021 14:42:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54548) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0q1g-0001Nw-Dq; Tue, 06 Jul 2021 14:42:32 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2927 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0q1f-0001OC-Tc; Tue, 06 Jul 2021 14:42:32 -0400 In-Reply-To: (message from Robert Ross on Tue, 6 Jul 2021 17:36:10 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209568 Archived-At: > From: Robert Ross > CC: "larsi@gnus.org" , > "25842@debbugs.gnu.org" > <25842@debbugs.gnu.org> > Date: Tue, 6 Jul 2021 17:36:10 +0000 > > I installed the mingw-w64 version of gdb (8.1). I've been poking around looking around for how to capture mouse events but I'm not seeing anything obvious. Is this an easy thing to capture, or will it take some expertise? Look in w32term.c, where it processes these messages: case WM_LBUTTONDOWN: case WM_LBUTTONUP: case WM_MBUTTONDOWN: case WM_MBUTTONUP: case WM_RBUTTONDOWN: case WM_RBUTTONUP: case WM_XBUTTONDOWN: case WM_XBUTTONUP: case WM_MOUSEMOVE: case WM_MOUSEWHEEL: case WM_MOUSEHWHEEL: That's where the processing of mouse events starts in Emacs.