From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud 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:16:34 +0100 Message-ID: <874juwwggd.fsf@elite.giraud> References: <87tu2wlku7.fsf@elite.giraud> <83r0y0biad.fsf@gnu.org> <87leo8wjee.fsf@elite.giraud> <83fsegbg94.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29913"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59351@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 18 14:17:31 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 1ow1FK-0007Wv-0r for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Nov 2022 14:17:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow1FB-00019s-Bu; Fri, 18 Nov 2022 08:17:21 -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 1ow1Es-00018Q-Ra for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:17:15 -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 1ow1Es-0007OQ-Il for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow1Es-00037n-EM for bug-gnu-emacs@gnu.org; Fri, 18 Nov 2022 08:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2022 13:17:02 +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.166877739811934 (code B ref 59351); Fri, 18 Nov 2022 13:17:02 +0000 Original-Received: (at 59351) by debbugs.gnu.org; 18 Nov 2022 13:16:38 +0000 Original-Received: from localhost ([127.0.0.1]:35723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow1EU-00036Q-6t for submit@debbugs.gnu.org; Fri, 18 Nov 2022 08:16:38 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:29342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow1ES-00036H-AO for 59351@debbugs.gnu.org; Fri, 18 Nov 2022 08:16:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Dr2Wg7cTe9vwMl8L MuyhxXLPxETtEx/LKe9Jim0oUuQ=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=05xrCuH3ulidaK3q9q7qSyTnbS6Ra22bFGTGZV nHZsoDkIROE5nm8OyFaHIkPQE4uHROXUSeow+RlaGXhL0HzfnTleviIwVDGkwCsblB44eQ M4SyK/EhL1BrMTK8Xz7nN0nw0gNfBc7g5PXwVNnRLx1LjB97Zw5TQAEO2HverkAelIFtKz nHLvErFmJOGHo4KJ4tSKnno1zY/qc/pZx2zqpBkL8dCy491RMMArkvRa1vrQ8mZJDuQ9oQ CmPPb5NguJxkmN1Fwj5yiwsyM76MG9P+wUBpDB/EnBxwzgY5IqXBWyk1gQ8sneVI47wNvP WZiAXrdCekWaRPa0lHNjYIcg== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 544cbc7b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 18 Nov 2022 14:16:35 +0100 (CET) In-Reply-To: <83fsegbg94.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Nov 2022 14:26:31 +0200") 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:248229 Archived-At: Eli Zaretskii writes: [...] > display_menu_bar is supposed to update the metrics of the menu-bar > line, see the call to compute_line_metrics at its end. Why doesn't it > happen? Yes but it seems that this updating does not take place when the menu face is changed (not the whole frame face, though: this does work). And the menu face, when changed, is displayed correctly, but the height of the window is not modified accordingly. -- Manuel Giraud