From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Proposing changes to adjust_frame_size Date: Sat, 08 May 2021 09:02:09 +0200 Message-ID: <875yzt907k.fsf@gnu.org> References: <69a5e928-2998-f776-fa0d-f35e6ab1e65d@gmx.at> <20210505.194756.2198057137743556501.masm@luna.pink.masm11.me> <20210505.230733.1330791046879877132.masm@luna.pink.masm11.me> <87a6p9knr9.fsf@gnu.org> <9712b3f0-c442-61fc-93a6-773ffcde1c2e@gmx.at> <87y2cswam6.fsf@gnu.org> <1b11ac72-6687-f2d4-1d9f-0619d6d2462c@gmx.at> <87v97ww8h4.fsf@gnu.org> <87eaa667-b3cd-0274-669c-3cb4e0076ce0@gmx.at> <87sg30vy7w.fsf@gnu.org> <87pmy3x620.fsf@gnu.org> <52a5361a-451e-7167-edfd-09066dfdcc3e@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8761"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 08 09:04:09 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lfH0T-00028Z-Bg for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 09:04:09 +0200 Original-Received: from localhost ([::1]:55160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfH0R-0002Da-JI for ged-emacs-devel@m.gmane-mx.org; Sat, 08 May 2021 03:04:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfGzc-0001Z2-T2 for emacs-devel@gnu.org; Sat, 08 May 2021 03:03:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53636) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfGzc-0001gY-CZ; Sat, 08 May 2021 03:03:16 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:58441) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfGzc-0004N2-9e; Sat, 08 May 2021 03:03:16 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id E521827C005A; Sat, 8 May 2021 03:03:15 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 08 May 2021 03:03:15 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegfedguddugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe evveeikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucfk phepkeejrdduieefrdefuddrudehgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgr lhhithihqdekieejfeekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgse hfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from thinkpad-t440p (p57a31f9a.dip0.t-ipconnect.de [87.163.31.154]) by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 May 2021 03:03:14 -0400 (EDT) In-reply-to: <52a5361a-451e-7167-edfd-09066dfdcc3e@gmx.at> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269023 Archived-At: martin rudalics writes: Hi Martin, > Thanks. That was a misguided attempt that didn't work here either. > Please try the patch I attach now, it at least doesn't break anything > here. If this still doesn't get us anywhere, I'd like to look into > your frame size history and will tell you how to set that up. With emacs -Q, I still get a frame where only the menubar but not toolbar is shown. The latter only appears when minimally resizing the frame. But on the plus side, after that initial resizing, now toggling menubar and toolbar makes them (dis)appear immediately without the need for another frame resize. Oh, wait, sorry, that's the very same behavior I also have on the current master, so no difference with your patch. And additionally, I don't actually need to resize the emacs frame. It's also enough to switch focus to some other WM window [1] and back again to make the toolbar appear, and from that time on, toggling menu/toolbar have immediate effect. Bye, Tassilo [1] Interestingly, I have to switch focus to some other _tiling_ window and back again. Switching to a floating window and back to emacs doesn't help. Not sure if that information has any value for you.