From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Space between toolbar and window (Carbon?) Date: Wed, 22 Feb 2006 10:01:03 +0100 Message-ID: References: <87slqc9u8b.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140672880 29394 80.91.229.2 (23 Feb 2006 05:34:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2006 05:34:40 +0000 (UTC) Cc: David Reitter , Emacs-Devel ' Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 23 06:34:38 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FC97X-0003yl-Od for ged-emacs-devel@m.gmane.org; Thu, 23 Feb 2006 06:34:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FC8RE-0003uJ-QC for ged-emacs-devel@m.gmane.org; Wed, 22 Feb 2006 23:50:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FBqvO-00065v-56 for emacs-devel@gnu.org; Wed, 22 Feb 2006 05:08:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FBqua-0005FP-NS for emacs-devel@gnu.org; Wed, 22 Feb 2006 05:07:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBqsP-0004tu-Nv for emacs-devel@gnu.org; Wed, 22 Feb 2006 05:05:42 -0500 Original-Received: from [193.162.153.9] (helo=pqueuea.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FBqys-0000tb-32 for emacs-devel@gnu.org; Wed, 22 Feb 2006 05:12:22 -0500 Original-Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by pqueuea.post.tele.dk (Postfix) with ESMTP id 16593376834 for ; Wed, 22 Feb 2006 10:01:56 +0100 (CET) Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepa.post.tele.dk (Postfix) with SMTP id C9D6747FE9A; Wed, 22 Feb 2006 10:01:45 +0100 (CET) Original-To: Chong Yidong In-Reply-To: <87slqc9u8b.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 21 Feb 2006 18:18:12 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50883 Archived-At: Chong Yidong writes: > David Reitter writes: > >> Can anyone give me a hint as to whether I can easily remove the extra >> space between the toolbar and the window (see screenshot)? It varies >> in size with frame height and line height and I'd like to get rid of >> it. Where in the code would I have to look? Is this Carbon specific? > > The non-toolkit X version has it; the GTK one doesn't. Right! In the non-toolkit version, the toolbar is "just another emacs window", and currently the height, width and position of all windows must be a multiple of the nominal frame line height (because the corner positions of a window is measured in lines and columns rather than pixels). In the GTK version, the toolbar is a separate X window, so it's height is not constrained by this. -- Kim F. Storm http://www.cua.dk