From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: src/nsterm.m: fix window tabbing on macOS Date: Wed, 9 Jun 2021 09:48:21 +0100 Message-ID: References: <83mts3ikoa.fsf@gnu.org> <2C0F466D-0FEB-439B-8049-D8EA5FC0B21B@bydasein.com> <8CCF969D-32AF-4542-8838-21DF4AA45523@yasufuku.dev> <9814156B-6B84-4CFA-9F5F-A1B05F19826F@bydasein.com> <312D53B8-0B55-40BD-8652-39848045E639@bydasein.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21553"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 09 12:53:40 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 1lqvq7-0005GC-Uy for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Jun 2021 12:53:39 +0200 Original-Received: from localhost ([::1]:52684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqvq6-0002AE-W4 for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Jun 2021 06:53:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqvpG-0001SA-Nh for emacs-devel@gnu.org; Wed, 09 Jun 2021 06:52:46 -0400 Original-Received: from ip6-2001-8b0-3f8-8129-d5d1-5d7e-1446-d8b7.holly.idiocy.org ([2001:8b0:3f8:8129:d5d1:5d7e:1446:d8b7]:51934 helo=breton.holly.idiocy.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqvpF-0002ES-18 for emacs-devel@gnu.org; Wed, 09 Jun 2021 06:52:46 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id F3D73202C6AAFA; Wed, 9 Jun 2021 09:48:21 +0100 (BST) Mail-Followup-To: Alan Third , martin rudalics , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: none client-ip=2001:8b0:3f8:8129:d5d1:5d7e:1446:d8b7; envelope-from=alan@breton.holly.idiocy.org; helo=breton.holly.idiocy.org X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.398, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:270592 Archived-At: On Wed, Jun 09, 2021 at 10:35:07AM +0200, martin rudalics wrote: > > The fact that when you enable and disable the toolbar the frame size > > changes is also something I can't explain because Appkit doesn't even > > give Emacs a chance to set the frame size, it just does it and it even > > animates the change for us, and lets us know it's been done after the > > event. Perhaps we've got something set somewhere that says that the > > NSView can't be resized by Appkit? I don't know, I'm not aware of any > > setting like that. > > If you just used > > adjust_frame_size (f, -1, -1, 5, false, Qtool_bar_lines); > > in ns_set_tool_bar_lines would that change anything? It doesn't make any difference to the frame resizing, but does make the window display as a tiny 2x2 character block in the top left of the frame, so I'm not sure it's doing what you intended. -- Alan Third