From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72986: Disabling menu-bar-mode changes size of new frames Date: Mon, 9 Sep 2024 14:33:39 +0200 Message-ID: <56840844-930e-45b0-ae48-97b5875c51b9@gmx.at> References: <44e0648e-b374-4816-8f3b-6948af471ab1@gmx.at> <4c2fe23a-be76-4cdc-8f97-16197e1834b0@gmx.at> <300cb820-d6b7-44c6-8609-fa7804babf99@gmx.at> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------zGbNMGHFRTsKcoOCKo6mvAE2" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14031"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Po Lu , Eli Zaretskii , 72986@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 09 14:35:11 2024 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 1sndbr-0003WI-9Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Sep 2024 14:35:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sndbh-0001nS-15; Mon, 09 Sep 2024 08:35:01 -0400 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 1sndbf-0001nK-Ce for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 08:34:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sndbf-0000Gd-0w for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 08:34:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=EQCzYaBTjIuoPB1rtYEf7v1lGVFxLFMnAtQg5gm+oX4=; b=BSTM/fRd2Vd/hDlVvqozpTok5ZJH4vtHrZUib3d5ElFhOcyiwqtvKc5r11qq4viuBXEPSStMxHKp60RDgNcqa6GdB/4d/FHKLuE34I6uxnpzpcQeRi9pGcOh1BofzO7uJDsmHuEEmH1x8arFoTJ9BYnDkuvjD8LFPQ6QTr+IXNv+tMWyBCwu17hKtHWKbePikuh6dkC8MzZyzLMOiX4fyP7Rzw+1aCE5klcYm5K4EjN+RbdXzo9CDOxQnsdQun26i1Zty8xJ/TQ2RzzKDKBlayst/9E/F3t/uNczsrjSVeqEKN+2PcCBT9oAdA+YfevawNPyH4nTeeh4Z4O6uTTj3Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sndbi-0002gX-7d for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2024 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2024 12:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72986 X-GNU-PR-Package: emacs Original-Received: via spool by 72986-submit@debbugs.gnu.org id=B72986.172588524710239 (code B ref 72986); Mon, 09 Sep 2024 12:35:02 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 9 Sep 2024 12:34:07 +0000 Original-Received: from localhost ([127.0.0.1]:60840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sndao-0002f4-UO for submit@debbugs.gnu.org; Mon, 09 Sep 2024 08:34:07 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:34189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sndam-0002eU-I1 for 72986@debbugs.gnu.org; Mon, 09 Sep 2024 08:34:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1725885227; x=1726490027; i=rudalics@gmx.at; bh=EQCzYaBTjIuoPB1rtYEf7v1lGVFxLFMnAtQg5gm+oX4=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:Cc:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=rShf9/QrNOLBkUcq3lKoRrOjtG2gXvZQVJqWTTF+xSZ9OGNxJJ5DoEaUMwiYPlBu PmJNkNImO6IufnxkwyrxHQD6/RXpYy+8yHHWQnko1EWkAKAYwdl8aGMwHMi8enzm1 rtMioobFMp25C5aUGC2uyY1e2RRlxnrGkeLSubP6Wu8/exNNCehNcDI7AuUneCXOC sMmWKMeh7i0pKd57uB0YG1eH7Lge/ahno1kq2U5SqJr9NyDjPXmL5ARzYdPclfO3D 3IwAw5/dAAVNOQTnnR9/8lIpOLABDiEBOlQzfurTTtRlOdIvTfNapXpAwtQHBpUTT Y5N2HU7HR+T64cmpJA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.96.255]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MeCtZ-1sCveu1p7H-00pdMx; Mon, 09 Sep 2024 14:33:47 +0200 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:5eIRlqqH4ml9OhlJIjEVBHuvGGQL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s-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:291499 Archived-At: This is a multi-part message in MIME format. --------------zGbNMGHFRTsKcoOCKo6mvAE2 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Thanks for your persistence, Martin! Thanks for yours! > (No infinite loop!) Obviously. I modified the PGTK part. Please try again with what I attached now. martin --------------zGbNMGHFRTsKcoOCKo6mvAE2 Content-Type: text/x-patch; charset=UTF-8; name="gtkutil-reject.diff" Content-Disposition: attachment; filename="gtkutil-reject.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9ndGt1dGlsLmMgYi9zcmMvZ3RrdXRpbC5jCmluZGV4IGQ1NzYy N2YxNTJmLi44OTA2MTI0NTUwMCAxMDA2NDQKLS0tIGEvc3JjL2d0a3V0aWwuYworKysgYi9z cmMvZ3RrdXRpbC5jCkBAIC0xMTI5LDExICsxMTI5LDQ1IEBAIHhnX3NldF9nZW9tZXRyeSAo c3RydWN0IGZyYW1lICpmKQogICAgIH0KIH0KIAorc3RhdGljIHN0cnVjdCBmcmFtZSAqbGFz dF9yZXNpemVfZnJhbWUgPSBOVUxMOworc3RhdGljIGludCBsYXN0X3Jlc2l6ZV9oZWlnaHQg PSAtMTsKK3N0YXRpYyBpbnQgbGFzdF9yZXNpemVfd2lkdGggPSAtMTsKK3N0YXRpYyBpbnQg bGFzdF9yZXNpemVfY291bnQgPSAwOworCiAvKiogRnVuY3Rpb24gdG8gaGFuZGxlIHJlc2l6 ZSBvZiBuYXRpdmUgZnJhb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