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: Sun, 6 Oct 2024 17:01:56 +0200 Message-ID: <74c278ea-e286-4841-98ed-6ae38cb63980@gmx.at> References: <9bbb10e9-208f-4d03-87f1-6e63ee293ed5@gmx.at> <4666bf6d-6259-4f72-a65d-56e2c47f98c0@gmx.at> <54072426-c373-420c-8343-29035fba25a6@gmx.at> <3d0a1e9a-5efc-4491-ab85-e3e58cb0f068@gmx.at> <0e78c0db-105c-4a60-acd4-7267e225259b@gmx.at> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------xd3tc1XEsgRV7rV7FkrPMXGg" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5687"; 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 Sun Oct 06 17:03:13 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 1sxSmv-0001GV-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Oct 2024 17:03:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxSmh-0001lZ-Ak; Sun, 06 Oct 2024 11:02:59 -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 1sxSmf-0001l2-1x for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2024 11:02:57 -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 1sxSme-0006h4-P9 for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2024 11:02:56 -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=hV0HeqLDCogFKhGtVZlJQpK8uds7PfTsEtdF6vh6OlY=; b=BK5baDeZfyNFU2RFYLHMkA/5fftaR0eFly73peC/fUYCIXCGBzG91tnl4In9pGPl4bPUVHiy+m7iJ3JBtNkikk3eAZpnx1e4/8xY/4pNteaZW4u/DTLkOzxmQfp9olX76aaIyVKVEl4Kvsa5aiAXmwLExc2wtzxTG8YQ9iCgKB4nH+v1q0FlRHxjTmuJ+iTWg0FX35KZzuqimoxMHFPU7xiW4IW2ylN74NIRjzWWXzMMBvlEf/Ud1+qmexc0J+09dH5DhSx6ufP6MRwWbDqV6ZPjWgomYp0cO7YjeGw5QxlVFwSJ38jhmpQnRwHqcDnHJFeUxTEq5R/+FzfyhMhAsw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxSmj-0006Yn-O6 for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2024 11:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Oct 2024 15:03:01 +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.172822693925151 (code B ref 72986); Sun, 06 Oct 2024 15:03:01 +0000 Original-Received: (at 72986) by debbugs.gnu.org; 6 Oct 2024 15:02:19 +0000 Original-Received: from localhost ([127.0.0.1]:41939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxSm2-0006Xa-An for submit@debbugs.gnu.org; Sun, 06 Oct 2024 11:02:18 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:51645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxSm0-0006XH-6s for 72986@debbugs.gnu.org; Sun, 06 Oct 2024 11:02:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1728226921; x=1728831721; i=rudalics@gmx.at; bh=hV0HeqLDCogFKhGtVZlJQpK8uds7PfTsEtdF6vh6OlY=; 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=uhSu7O2S2EEerh6a8+jJ4zcO6vUIdvrxk/LbCdDS/+Z/QvNWPQvQj0tlvUHfMsMO m/tDlWth8fXh94U1dxhY7Hxj5pX1M2wud8gBuvtVPovuv712eymaXJGGsHI19KG8I gj62pfOtk1y4KmAWLJLt+PJeLNlppxIrcie30kY4e/iRpqtlI7NAZG7Sy44AppDPd FyC1ry2xlVJ3WVGE3oZLIMDAEjmO06T+vPO+QDWa5eEhtlKRVWfZqT2OiUU5dpC3n MahvzwHIIM0OxyhXcUB/n97na5gZ+YwpjmBARhAAxEhAlU9X+P6HiTiehXgVPu+TP fmALkpLEBcawIlx6+A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.208]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MdvmY-1tX4Eo426g-00f0mU; Sun, 06 Oct 2024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vnM7cvY07S14scjmg0DtK3x3WF+f+0+c4fXgTrP9KJpXiV4dSAKNPsaMEm4e 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:293089 Archived-At: This is a multi-part message in MIME format. --------------xd3tc1XEsgRV7rV7FkrPMXGg Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 ID4gKFRoaXMgaXMgZm9yIGZpcnN0IGZyYW1lIHdpdGhvdXQgbWVudSBiYXIuKQ0KID4NCiA+ ICh3aW5kb3ctcGl4ZWwtaGVpZ2h0KSDih5IgMTI1Nw0KDQorIDM1IHBpeGVscyBmb3IgdGhl IG1pbmlidWZmZXIgZ2V0cyB1cyAxMjkyIGFzIGV4cGVjdGVkLiAgWW91ciBtYWluDQp3aW5k b3cgaXMgMzIgcGl4ZWxzIHRvbyBoaWdoLCB0aGUgbG93ZXN0IDMgcGl4ZWxzIG9mIHRoZSBs YXN0IGxpbmUNCihwcm92aWRlZCBpdCBjb250YWlucyB0ZXh0KSBzaG91bGQgYmUgY3V0IG9m Zi4NCg0KID4gSSBjYW4gb25seSBzdXNwZWN0IHRoYXQgdGhpcyBjb21lcyBmcm9tIGEgcmVx dWVzdCB0byBtb3ZlIHRoZSBmcmFtZSB0aGF0DQogPj4gZG9lc24ndCBzaG93IHVwIGluIHRo ZSBoaXN0b3J5LiAgTm93IHRoZSBvbmx5IGxvY2F0aW9uIHdoZXJlIHRoaXMgbWlnaHQNCiA+ PiBoYXBwZW4gaXMgaW4geHRlcm0uYyBhcm91bmQgbGlrZ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XN0ZW0sIHdlIHNob3VsZCBiZQ0KYWJsZSB0byBnZXQgdGhl IGNhdXNlIHJpZ2h0IGZyb20gdGhlcmUuICBJbiB3aW5kb3cteDExLmMgdGhlIGZ1bmN0aW9u DQpzZW5kX2NvbmZpZ3VyZV9ub3RpZnkgY2FsbHMNCg0KICAgbWV0YV90b3BpYyAoTUVUQV9E RUJVR19HRU9NRVRSWSwNCiAgICAgICAgICAgICAgICJTZW5kaW5nIHN5bnRoZXRpYyBjb25m aWd1cmUgbm90aWZ5IHRvICVzIHdpdGggeDogJWQgeTogJWQgdzogJWQgaDogJWQiLA0KICAg ICAgICAgICAgICAgd2luZG93LT5kZXNjLA0KICAgICAgICAgICAgICAgZXZlbnQueGNvbmZp Z3VyZS54LCBldmVudC54Y29uZmlndXJlLnksDQogICAgICAgICAgICAgICBldmVudC54Y29u ZmlndXJlLndpZHRoLCBldmVudC54Y29uZmlndXJlLmhlaWdodCk7DQoNClRoYXQgaGVpZ2h0 IHNob3VsZCB0ZWxsIHVzIGFsbC4gIElJVUMgeW91IHdvdWxkIGhhdmUgdG8gc2V0IHRoZQ0K ZW52aXJvbm1lbnQgdmFyaWFibGUNCg0KTVVUVEVSX0RFQlVHPSJnZW9tZXRyeSINCg0KYW5k IHRoZW4gbG9vayBpbnRvIHN0ZGVyciAob3IgcmVkaXJlY3QgaXQpIHdoZXRoZXIgYW55dGhp bmcgc2hvd3MgdXAuDQpJSVVDIG11dHRlciBtdXN0IGhhdmUgYmVlbiBidWlsdCB3aXRoIGEg InZlcmJvc2UiIG9wdGlvbiwgc28gSSBkb3VidA0KdGhhdCBpdCB3aWxsIHdvcmsgZm9yIHlv dSBvdXQgb2YgdGhlIGJveCBidXQgeW91IGNvdWxkIHRyeSBuZXZlcnRoZWxlc3MuDQoNCm1h cnRpbg0K --------------xd3tc1XEsgRV7rV7FkrPMXGg Content-Type: text/x-patch; charset=UTF-8; name="gtkutil-frame-2.diff" Content-Disposition: attachment; filename="gtkutil-frame-2.diff"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dGlmeWNvdW50ID0gMDsKKwogc3RhdGljIGludAogaGFuZGxl X29uZV94ZXZlbnQgKHN0cnVjdCB4X2Rpc3BsYXlfaW5mbyAqZHB5aW5mbywKICNpZm5kZWYg SEFWRV9YSU5QVVQyCkBAIC0yMTM3MiwxOCArMjEzNzUsMjYgQEAgaGFuZGxlX29uZV94ZXZl bnQgKHN0cnVjdCB4X2Rpc3BsYXlfaW5mbyAqZHB5aW5mbywKICAgICAgICAgewogICAgICAg ICAgIFhOZXh0RXZlbnQgKGRweWluZm8tPmRpc3BsYXksICZuZXh0X2V2ZW50KTsKICAgICAg ICAgICBpZiAobmV4dF9ldmVudC50eXBlICE9IENvbmZpZ3VyZU5vdGlmeQotICAgICAgICAg ICAgICB8fCBuZXh0X2V2ZW50Lnhjb25maWd1cmUud2luZG93ICE9IGV2ZW50LT54Y29uZmln dXJlLndpbmRvdworICAgICAgICAgICAgICB8fCBuZXh0X2V2ZW50Lnhjb25maWd1cmUud2lu ZG93ICE9IGV2ZW50LT54Y29uZmlndXJlLndpbmRvdykKKwkgICAgeworCSAgICAgIFhQdXRC YWNrRXZlbnQgKGRweWluZm8tPmRpc3BsYXksICZuZXh0X2V2ZW50KTsKKwkgICAgICBicmVh azsKKwkgICAgfQogICAgICAgICAgICAgICAvKiBTa2lwcGluZyBldmVudHMgd2l0aCBkaWZm ZXJlbnQgc2l6ZXMgY2FuIGxlYWQgdG8gYQogICAgICAgICAgICAgICAgICBtaXNwb3NpdGlv bmVkIG1vZGUgbGluZSBhdCBpbml0aWFsIHdpbmRvdyBjcmVhdGlvbi4KICAgICAgICAgICAg ICAgICAgT25seSBkcm9wIHdpbmRvdyBtb3Rpb24gZXZlbnRzIGZvciBub3cuICAqLwotICAg ICAgICAgICAgICB8fCBuZXh0X2V2ZW50Lnhjb25maWd1cmUud2lkdGggIT0gZXZlbnQtPnhj b25maWd1cmUud2lkdGgKLSAgICAgICAgICAgICAgfHwgbmV4dF9ldmVudC54Y29uZmlndXJl LmhlaWdodCAhPSBldmVudC0+eGNvbmZpZ3VyZS5oZWlnaHQpCisJICBlbHNlIGlmIChuZXh0 X2V2ZW50Lnhjb25maWd1cmUud2lkdGggIT0gZXZlbnQtPnhjb25maWd1cmUud2lkdGgKKwkJ ICAgfHwgbmV4dF9ldmVudC54Y29uZmlndXJlLmhlaWdodCAhPSBldmVudC0+eGNvbmZpZ3Vy ZS5oZWlnaHQpCiAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgIFhQdXRCYWNrRXZlbnQg KGRweWluZm8tPmRpc3BsYXksICZuZXh0X2V2ZW50KTsKLSAgICAgICAgICAgICAgYnJlYWs7 CisJICAgICAgY29uZmlndXJlbm90aWZ5Y291bnQrKzsKKwkgICAgICBicmVhazsKICAgICAg ICAgICAgIH0KICAgICAgICAgICBlbHNlCi0JICAgIGNvbmZpZ3VyZUV2ZW50ID0gbmV4dF9l dmVudDsKKwkgICAgeworCSAgICAgIGNvbmZpZ3VyZW5vdGlmeWNvdW50ID0gMDsKKwkgICAg ICBjb25maWd1cmVFdmVudCA9IG5leHRfZXZlbnQ7CisJICAgIH0KICAgICAgICAgfQogCiAg ICAgICAvKiBJZiB3ZSBnZXQgYSBDb25maWd1cmVOb3RpZnkgZm9yIHRoZSByb290IHdpbmRv dywgdGhpcyBtZWFucwpAQCAtMjE1NzUsMTIgKzIxNTg2LDE5IEBAIGhhbmRsZV9vbmVfeGV2 ZW50IChzdHJ1Y3QgeF9kaXNwbGF5X2luZm8gKmRweWluZm8sCiAgICAgICAgIHsKIAogCSAg aWYgKENPTlNQIChmcmFtZV9zaXplX2hpc3RvcnkpKQotCSAgICBmcmFtZV9zaXplX2hpc3Rv cnlfZXh0cmEKLQkgICAgICAoZiwgYnVpbGRfc3RyaW5nICgiQ29uZmlndXJlTm90aWZ5Iiks Ci0JICAgICAgIEZSQU1FX1BJWEVMX1dJRFRIIChmKSwgRlJBTUVfUElYRUxfSEVJR0hUIChm KSwKLQkgICAgICAgY29uZmlndXJlRXZlbnQueG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