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#59351: 29.0.50; [PATCH] Fix mouse click position to menu bar entry Date: Fri, 18 Nov 2022 14:29:03 +0200 Message-ID: <83edu0bg4w.fsf@gnu.org> References: <87tu2wlku7.fsf@elite.giraud> <878rk8ee6d.fsf@yahoo.com> <8735agr0g4.fsf@elite.giraud> <83o7t4bhk4.fsf@gnu.org> <87h6ywwj9e.fsf@elite.giraud> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34919"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 59351@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 13:30:15 2022 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 1ow0Vb-0008vW-Qj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 13:30:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow0VR-0004Un-P3; Fri, 18 Nov 2022 07:30:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow0VO-0004U5-Q6 for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 07:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ow0VO-00066n-6I for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 07:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow0VO-0005sD-0z for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 07:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 12:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 59351-submit@debbugs.gnu.org id=B59351.166877454822489 (code B ref 59351); Fri, 18 Nov 2022 12:30:01 +0000 Original-Received: (at 59351) by debbugs.gnu.org; 18 Nov 2022 12:29:08 +0000 Original-Received: from localhost ([127.0.0.1]:35612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow0UW-0005qe-09 for submit@debbugs.gnu.org; Fri, 18 Nov 2022 07:29:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow0UU-0005qB-5C for 59351@debbugs.gnu.org; Fri, 18 Nov 2022 07:29:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow0UO-0005z1-JF; Fri, 18 Nov 2022 07:29:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+Fr8b1Fe+nH78dqQFGVuVxAAGm91e3vfUh0Myt3I0QY=; b=Nk0AhAwCKHmm fSKNyvzLZIq9v6hyL/DBVxZDpcYl+pA11G5EKGlmV/E8F2z0usZ0eQH/gLAJ0+0Q7z1VXjhmNdLs4 h7X2vloNJxRiWC3nEMuzcjRzxz5bkbiYoDvHw6O8rMYIn3kzk765LGD1OGuB6ozt+1sCw/QSIYKIq Ob5WWYUnw/kTUGJ8lRpod4XTDVrRm75rSCyosmktzImrf0PGBiJtFRjNDCYJd38pAsg7zGUUQZYRt vbGkLRxPowC2Dvx9YWY9h1Hop4cVBiNQ5LtPY1O7HOcdWMkus7cxi/I8au/OriZHMwYCFKjL+SblF B/8+zvLlSqSrlnk8NLQ4Tg==; Original-Received: from [87.69.77.57] (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 1ow0UN-0001Qb-NY; Fri, 18 Nov 2022 07:29:00 -0500 In-Reply-To: <87h6ywwj9e.fsf@elite.giraud> (message from Manuel Giraud on Fri, 18 Nov 2022 13:15:57 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248220 Archived-At: > From: Manuel Giraud > Cc: luangruo@yahoo.com, 59351@debbugs.gnu.org > Date: Fri, 18 Nov 2022 13:15:57 +0100 > > Eli Zaretskii writes: > > > Also, does this work after the user clicks the menu bar and Emacs > > drops down a menu for the menu item on which the user clicked? I > > don't remember what happens to the pseudo-window geometry when that > > happens. > > I do not understand your question. When you click on the menu bar, Emacs drops down a menu, right? For example, if you click on "File", you will see a menu with items like "Visit New File...", "Open File..." etc. After that, if you click in the dropped-down menu, is the code you suggest to modify involved, and if so, does the conversion from X/Y to COL/ROW still work?