From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.devel Subject: Re: src/nsterm.m: fix window tabbing on macOS Date: Fri, 28 May 2021 23:52:55 +0300 Message-ID: References: <9cdf9d6dc55ccd4894d758d3237b0be2@purelymail.com> <03FB7137-A02D-4B94-AF1F-8B7E84DEF5DB@bydasein.com> <39fa782b82e274d3e9c40e934df89d68@purelymail.com> <4cf0b73bcefc7d159881d368b3a4b7f5@purelymail.com> <14A97A03-E9F8-4B6D-8E58-D29CEFA7931C@bydasein.com> <5a9c34f8-fcc2-fb5d-f726-e1ce47621ed7@gmx.at> <8f618ff4-aa8b-e592-9723-c99e2913a260@gmx.at> <1111CC09-BBF6-4732-ABDA-961D09DF7915@bydasein.com> <786de148-dbc1-b371-ae1c-6385d08f25b2@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="16499"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: martin rudalics , Alan Third , emacs-devel@gnu.org To: "Paul W. Rankin" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 28 22:53:59 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 1lmjUU-00046S-PS for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 22:53:58 +0200 Original-Received: from localhost ([::1]:42728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmjUS-0003NX-Lx for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 16:53:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmjTa-0002YI-Al for emacs-devel@gnu.org; Fri, 28 May 2021 16:53:02 -0400 Original-Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:34555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmjTY-0008Hk-NE for emacs-devel@gnu.org; Fri, 28 May 2021 16:53:02 -0400 Original-Received: by mail-qk1-x72d.google.com with SMTP id v8so5449428qkv.1 for ; Fri, 28 May 2021 13:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tjzpuprSJOW7t66MAaiPS4QO5O3GIea63sKpo6ta2yg=; b=nM5sVwScZLm3/wfaredrN1QkWfJMW+q9zNehR+0MVWI5GE2VPJLYNzsKOa/PvTy+43 +qTSmK5etIQfs+MjEqCbUg2B0TUhaEJvhO3cT6RyX8Dw+Ri9pF7itcjMUIVK+YDUwWqB qUAsLEOJt57+pogVTH2fpjPt1gkQ8tUT1m0OhLA4r6iAMi4qI64CuzDoJ+iJ7qKtzkZE gfmjeatoZKoZCGdXpsUKHE4nBoFU75B2R7c3QqVA9PlVL/ipoMwU6JMdeDz/vBJd+uK8 jhpmvhLUZcE6QruL7vtSaE5lZW33rAoznwRRHc4cKM/mJAc+dAoWY17+DiaD+rMEIzei NV/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=tjzpuprSJOW7t66MAaiPS4QO5O3GIea63sKpo6ta2yg=; b=KKNEl9B9uVff7gxwRV5u+sqZHpnS4Kq9qNh+dI6hGnqbmiMN4v7G5OebAJ0BkJtc8d uaUY76TjbbqAMM1ulfLuORbdkkmT0AHcmmY079Us7lI6YlBQqpEqABfTz6KEsZLP0wyw vy/u5eUMU0eTRoN9WlL0kWIQ/26wf/rl51RmdBVl/g6FE6x0BbRmQjZEzfl8WgwYWZYb +IE5Ms0neDL0MMVbEn9dnINWoJSty69rcUjO7uc8qNbvnegOwGltO7WJZpEjzkXorjVJ l/OMdzWNyqvH3bGGwfPBSlGhtOVEWs5y2TJA5aM+KzciFuJHcUQuKdcxnHE537J/VvzV rIhg== X-Gm-Message-State: AOAM531/0O/nU+mKJ2Q62W8BACZMF7TCnY+GcDLqF/jJujaXES1ly8KD U7x/PCF95CK1QVEEH3F7sXDMI+LeHwHhd1DG X-Google-Smtp-Source: ABdhPJyYDlbrOfbpyAbrMwgoe46CKrd9vOenf/kK9zaDLggYpH6K8c6RrUu0t+jzXl+Y9eyuWBFRrQ== X-Received: by 2002:a05:620a:44c5:: with SMTP id y5mr5782978qkp.344.1622235179279; Fri, 28 May 2021 13:52:59 -0700 (PDT) Original-Received: from muffinmac ([91.206.110.246]) by smtp.gmail.com with ESMTPSA id g1sm3957260qtj.44.2021.05.28.13.52.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 13:52:58 -0700 (PDT) In-Reply-To: (Paul W. Rankin's message of "Sat, 29 May 2021 00:33:11 +1000") Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=andreyk.mad@gmail.com; helo=mail-qk1-x72d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:270024 Archived-At: "Paul W. Rankin" writes: >> On 28 May 2021, at 7:51 pm, martin rudalics wrote: >> >> >> Why? Have you `tab-bar-mode' turned on or have you set the >> >> `tab-bar-lines' frame parameter? >> > >> > It's important to note that this is not related to >> > `tab-bar-mode'. These tabs are part of the OS's native window >> > manager chrome. >> >> I see. So what does really "grow" and not "shrink": The window manager >> frame or the Emacs frame? If it's the former, then the behavior should >> be seen by displaying any other application's windows in the window >> manager frame and the behavior is not Emacs specific. Right? >> > > This might be best illustrated with a quick video showing how the > Emacs.app frame behaves when creating a new tab vs a native macOS app: Also check out the Terminal.app behavior. It restores the WM-frame size once tab bar is hidden. -- Andrii