From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Coordinates and Windows Date: Fri, 17 Jul 2015 17:21:34 +0300 Message-ID: <83wpxy6f0x.fsf@gnu.org> References: <55A60508.7090903@gmx.at> <83oajd79kz.fsf@gnu.org> <55A6A4A1.1030307@gmx.at> <83fv4p6wqp.fsf@gnu.org> <55A759D1.5090001@gmx.at> <83bnfc6um1.fsf@gnu.org> <55A7F68A.3040003@gmx.at> <83y4if53s8.fsf@gnu.org> <55A904C8.2070106@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1437142913 27517 80.91.229.3 (17 Jul 2015 14:21:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2015 14:21:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 17 16:21:46 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZG6WF-00013d-RY for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2015 16:21:43 +0200 Original-Received: from localhost ([::1]:45093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG6WE-0002yM-Vi for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2015 10:21:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG6W9-0002y4-0G for emacs-devel@gnu.org; Fri, 17 Jul 2015 10:21:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZG6Vz-0001x4-J8 for emacs-devel@gnu.org; Fri, 17 Jul 2015 10:21:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:43583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG6Vz-0001vi-1t for emacs-devel@gnu.org; Fri, 17 Jul 2015 10:21:27 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NRM00700XXHQQ00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 17 Jul 2015 17:21:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRM0070NYJMM470@a-mtaout22.012.net.il>; Fri, 17 Jul 2015 17:21:23 +0300 (IDT) In-reply-to: <55A904C8.2070106@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187927 Archived-At: > Date: Fri, 17 Jul 2015 15:36:08 +0200 > From: martin rudalics > CC: emacs-devel@gnu.org > > >> I agree. Just that it's not all too trivial to calculate it. > > > > In pixels or in rows? > > In pixels. Why does it matter if we get that accurately, in builds where we don't manage those decorations? We might as well approximate that with some reasonable value, and be done, no? > >> Just 32 pixels for title, menu, and tool bar? > > > > Maybe I'm confused, but doesn't that include only the title and menu > > on Windows? Or maybe just the title? > > This would imply that the tool bar (and maybe even the menu bar) are > part of the root window. Which on Windows, it is, AFAIK. > >> BTW, has Windows 7 an 8 pixel wide border by default? > > > > How can I know? > > What does M-: (x-frame-geometry) give for you? This is on XP: ((frame-position -4 . -4) (frame-outer-size 1928 . 1088) (external-border-size 4 . 4) (title-height . 19) (menu-bar-external . t) (menu-bar-size 1920 . 19) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 1920 . 36) (frame-inner-size 1920 . 1042))