From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59351: 29.0.50; [PATCH] Fix mouse click position to menu bar entry Date: Fri, 18 Nov 2022 21:20:48 +0800 Message-ID: <87v8nccsb3.fsf@yahoo.com> References: <87tu2wlku7.fsf@elite.giraud> <878rk8ee6d.fsf@yahoo.com> <8735agr0g4.fsf@elite.giraud> <83o7t4bhk4.fsf@gnu.org> <87h6ywwj9e.fsf@elite.giraud> <83edu0bg4w.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16263"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59351@debbugs.gnu.org, Manuel Giraud To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 14:22:17 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 1ow1Jx-00040l-3V for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 14:22:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow1Jn-0002nt-Ss; Fri, 18 Nov 2022 08:22:07 -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 1ow1Jl-0002nd-NP for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:22:05 -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 1ow1Jh-0008EB-RJ for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:22:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow1Jh-0003Go-Mu for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 13:22: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.166877767412509 (code B ref 59351); Fri, 18 Nov 2022 13:22:01 +0000 Original-Received: (at 59351) by debbugs.gnu.org; 18 Nov 2022 13:21:14 +0000 Original-Received: from localhost ([127.0.0.1]:35764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow1Iu-0003Fg-L7 for submit@debbugs.gnu.org; Fri, 18 Nov 2022 08:21:13 -0500 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:33236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow1Ip-0003F6-Ic for 59351@debbugs.gnu.org; Fri, 18 Nov 2022 08:21:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668777661; bh=6lhrV3BfodICZXBeLfaFB8MsUDIT5SNlVsMwri5Vhwk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=IKIg7qHes86L3I7bQLsCJM2Djh7IyFdajPV28jt349VpPnX3z4ZhYSLbbExaKrS1MR409JWDtBcIG/4QAuD1l1ZBrr2wCKG+vHKg/4abR7244psCXS8FVXp1Sa3lfHbjYhydF1kPS2cxSubNU2k4c6LtJaWuhnf0883k2w3+ER58AkCuWzKdRYVukY4h/2ZnF/WJ5Ahvvy5NZCyRD7dx/advjJRkR5VCXq7cI/Qzx2S4ppvmnHNK+d3M/2W9RkRfmWFIf8HXuWmaHIBU5TbVNxhJvlELcMyry/k8YTJmNgZZGrOEtjrBfpmAZC5VhaQUrWhXaEwnYoONweN5pZvFtA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1668777661; bh=tt3MchZ61yZMguUC4w0+3pPMLAqAnNPwUA2ujMcOJkJ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Pftp0Bw1QFATjRVH9CHUnDqsFpXSa+LQdBaLacwbn15mR4dlk19GAZperzb6BHymsQi3lhe0zrbHKVMA/mOXczUmRRD/F8ltohd2wE/2OpqglmXnPG/e84rlPrxjRVZwYHxiqFqBCOFXLIoLXcQZbcS9/4a0lwTrjfVcUNgiMtMfNjxt2PAnFSh3ER6okrCtsn+yrHF2d1ufzCoksE48xQCcjo5041q2VorgcIAHI5MZbhexl89npsDf826cHk/8LjmbSkzl6S0AOIvFi0HvNPKdosP+On4QMGOihwEq7QdhbA/mTNJkIKQ4fiJn/NtbJu6MYuvFthdqiNowqb3wRw== X-YMail-OSG: 8RfIWGoVM1n_uA3AbjFF9hAVuUz6iOTNiw9RmlbK7tDKoHR.jZgI.zXM6H_fZEF iEqZGwsv4Hxf2z0UKGzI_d5M9UyonXZNMm9w1sh4laYveVrfcDsaUkwkucbBVreBtyJLcbLwW0Wt CMaoU1.kSChnK06F98bAP27wj4UoMR_lQP1KgLW89Y6JSl2tOhdWspVQT.olRNQKyxnduVBLxSQH Bo.At3qYLHGeViK5hiQ7EuKlNwUsQuEvim1yqfnXwn.RONuYaaVP1U9PyCeC._QVYNreU5BlGGXT PI_zWpxwuoonYiJmQ_MPCT.etq7ozBbQGzU7Kx62Qz8Mo5CmPkppEEN8ukgbHn.k4T77cMXbtSuw uSxLJRVwGtrOFXdhgWxQcSQV3P4_Lrs0vlDjlJX8rxgEFCFV.lLRdwpZjfzgqMwZ8KwDqAkVpZ5u 2lt3Cy42trYnIjGPwSBrcY_K5FEGPCFbDdfjs5ieyUi5IGUVmf3wBDgyxNg4gl5lQsMr_JeenlUM 6F2v02e6BFPLFRorbTvmTtvR7avZ7zVp7s2mH_0hx7w7i1PCzvx6MUPGR9281FBJDNsUSXcV.xyo vr7O34vAtNDY9BamMdGmT_LemTgjJ.P3Qv9vd2K5Mna5pc4h.r4S_5i..kQbyun4U_g.eyOpZUr. CJUYDZZzKczq_uLkKiSR9XflrEDUo3oa9_C5XTeOKY1P5uK61E8MHxSF_imU330OXdN2V.qGjvZU xE.kSBtALXPOD02w0GDMkdmU_Fn4p967JGZh754hw9BhEYlLkmA5rpq78orRyGtFwZ9nSa5B54tN 1yLNDFTHX0cCwIEx8v.9ymgjcDVDAWzVxsq3A16KtU X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Fri, 18 Nov 2022 13:21:01 +0000 Original-Received: by hermes--production-sg3-6c8895b545-mvhb5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ef93b9baf06cd0e8d6dbdd6804fcc0df; Fri, 18 Nov 2022 13:20:54 +0000 (UTC) In-Reply-To: <83edu0bg4w.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Nov 2022 14:29:03 +0200") X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:248233 Archived-At: Eli Zaretskii writes: > 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? Right, that is a problem. I tried and saw the menu selection stop working at all. My suggestion is to use the new code only under X, which is the only place where that piece of keyboard.c is used and variable-width fonts are supported.