From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#47234: 28.0.50; frame-inner-height fails without window system on tab-bar-height Date: Thu, 18 Mar 2021 16:51:48 +0100 Message-ID: References: <87zgz0wpe7.fsf@tcd.ie> <837dm4h6uk.fsf@gnu.org> <877dm4o6fj.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6864"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47234@debbugs.gnu.org, juri@linkov.net To: "Basil L. Contovounesios" , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 18 16:53:48 2021 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 1lMuy4-0001fm-PN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 16:53:48 +0100 Original-Received: from localhost ([::1]:46624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMuy3-0007lm-Pi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 11:53:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMuwN-0005bd-B6 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 11:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMuwM-0003pB-FJ for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 11:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMuwM-0001cG-El for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 11:52: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: Thu, 18 Mar 2021 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47234 X-GNU-PR-Package: emacs Original-Received: via spool by 47234-submit@debbugs.gnu.org id=B47234.16160827216195 (code B ref 47234); Thu, 18 Mar 2021 15:52:02 +0000 Original-Received: (at 47234) by debbugs.gnu.org; 18 Mar 2021 15:52:01 +0000 Original-Received: from localhost ([127.0.0.1]:47813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMuwK-0001br-OM for submit@debbugs.gnu.org; Thu, 18 Mar 2021 11:52:00 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:47881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMuwI-0001bf-TT for 47234@debbugs.gnu.org; Thu, 18 Mar 2021 11:51:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1616082711; bh=CB6nAjwZAhlKRcjejbYoTNGRIS/WbDuBmapBvpoEKXI=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=DaBwnJoVGMBMCSsly+WrvyO71rMO1sz8hc1nAAAboxcsd2feZT2WyaR1ruzb1Vo/k lQ0wxq0Ie0y49rvarFjBMDWpZTsRWl0JoBRvLfaf+DZZrjQUOjJzOP3oApSD3873Zy X7N+apHSmEephrqinJ7B7d9mUs36MiJnjotYWOSE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.21]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MC30Z-1lYi7P2P3V-00CQeE; Thu, 18 Mar 2021 16:51:50 +0100 In-Reply-To: <877dm4o6fj.fsf@tcd.ie> Content-Language: en-US X-Provags-ID: V03:K1:h+BjQ0D1Q9QEzefL/r4elzxRlcdMUqIXey0B1SIA72oqn6Q099m My07qzZzuAsXgCFQWTZIOe+Udw7nAyKR8UbKZqD3bA677yTEqY9q5FP1I35D0QLmn1+lSq9 rVZ3cpFE3B4qpHrAl7dk0+7+jIgeIXl0MWuhSLtf8JJjpdsQmWzDp8onVF7cjklW3A4MNxg mMchBECX22KpkYNncq++w== X-UI-Out-Filterresults: notjunk:1;V03:K0:hOtXYY+AZTQ=:cc1GocIJNSqcTkBR5Y9H5Q UsFU7gNp3JMzKUyAA7axu1LdAXYNktR7x6evr5c/dO/WGfu1cp8s8nMNo1YQnT81nKAG3dxYb AaMZJ+TuhbCL69eIa+/xjMcka9noL7cWlSPajrftCOFTbo63lNixN29ZEguaAErmuVkVKXmqW JBAHnlT0EMer4JIHV74tGfqVb11xlRbZfcIGgK9bSZ7JjgqQ2PFm2dSLhJQHeFgItDM8ft81m Hxx+cJERpgMolXd+1X8PPwp6/qFPBWj+o1h26nVb+s1c3igoNsQenyNOgquTOODbDjVox7USQ wLwwnT5wU6y2CcKw/Xf1lupohOf59myiu571auIwud4t4gz87Xm4MvNbi+dOnTMqTEGsbrAL6 6+GPOiWHBsLhgHRNPaXPi5eE4evOO/eHQB1BEEIuSdcmsMcJu5VHSmxyvvXWY4Er3PijH48Hs 1u9yf48hMG4m/PTffMZG9s/bGMqgmb7GBdre9vhLU0yxIjnLTw25WMJeqAezEA/RId8vWCbhu SO2I7cwXny+2qGgCCrQsy4Q+ewH8FttREVRgwBCBslKWzXAqgL8vf408Pw386Mnc4aZPtugjk hy1JUij9SBpJZwjoDQa4t9PtI9iNQyjxm1rgrm97dohU9dLlbjWXPXf+VVFuKrXqpEdLt6j5x Vj8JU/FIGyPm+pJkdxpFlbjmMcxvkHf4N/5UgmJlZxQq5DHVMxkR+vcgn7tXowihO0uA8v1v0 gipz6xJPP7YhRsTJTI5KnAUDSCW7bp9tRkMenJ2hCnfoe6l8SvZa8V2dePrrVoS8DckEU/Us 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" Xref: news.gmane.io gmane.emacs.bugs:202616 Archived-At: > Is the following close to TRT? > > + (if (fboundp 'tab-bar-height) > + (tab-bar-height frame t) > + (frame-parameter frame 'tab-bar-lines)) I think that `tab-bar-height' should be bound and return a meaningful value everywhere. The frame parameters (in particular for the menu and tool bar) are only a meaningless pain in this regard. Many thanks for spotting and working on this, martin