From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Coordinates and Windows Date: Fri, 17 Jul 2015 19:58:12 +0200 Message-ID: <55A94234.7070600@gmx.at> 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> <83wpxy6f0x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437155933 24600 80.91.229.3 (17 Jul 2015 17:58:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2015 17:58:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 17 19:58:44 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 1ZG9uC-0001Ui-O8 for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2015 19:58:40 +0200 Original-Received: from localhost ([::1]:45855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG9uB-0006bG-Vb for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2015 13:58:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG9tz-0006ay-72 for emacs-devel@gnu.org; Fri, 17 Jul 2015 13:58:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZG9tx-0007Xw-5W for emacs-devel@gnu.org; Fri, 17 Jul 2015 13:58:27 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:54520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZG9tt-0007Vo-AP; Fri, 17 Jul 2015 13:58:21 -0400 Original-Received: from [178.190.20.144] ([178.190.20.144]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MGWR2-1ZBoIm0rp2-00DEij; Fri, 17 Jul 2015 19:58:20 +0200 In-Reply-To: <83wpxy6f0x.fsf@gnu.org> X-Provags-ID: V03:K0:SWbRvu3hPqu8GQxcNV5E2/x2NATG+WYg6a98ZULhGyL3kSuqb6i HTe01hi2bNiucdvdHVxz78LoDa90+1sZS4nYO87wGWCr3MiCSTsEZKrBfMQtuHKADrOzOIe dKuauoGkRkmn4fzEqD5U/n1d+lA1gzzsHNU8NMSWOXW4TSZNS1XhAGo/8oO+lWpf+lJ4+5d fmts7fM91xCAn2ZPDfThA== X-UI-Out-Filterresults: notjunk:1;V01:K0:lRZL0Sl8CJQ=:gVdbsMHUg1OWTJAcC3garL pCe2evnlsWki1/6ahLOkkGYwrubAfMDgUqxfCPaxhBOJL6BXn601n47ezQK6t7ionXhkhOPqx hKW9eUAxoonESS3zuLeLI/hWbiOcqYJBhx2Wlkqf1KQ9USJ7H3WIPykb9O7jYN5g/TGfv1RUU U38A03PH7onhb4ar6nAzW3f2g1Loh0PLZYeOl8D0pl8R1ILMgxayIBzeF9V56zYVJ168A3u+v rFeqo6f3Ww8czdER2MjFj3Zl3z2/+6oAY2rro/XxjibzxRBy+pW6Hn2qf/IbFAgYDEN4Qtgwm A/WnaZeObCEhEV2O4W5wmW3iIBmb+ksybTPRK64fsZfqyMo68G7RvnkD9ddR36QgzngE1U6Rr 8b25WNqFUWoJlzhsOpLCxSlXWkdlaxLAhJyiJaVxMytFy6qzpGDzztTSqDbTy1B//O48rSU0T Oa8RW7/z1/CpHbk7XLP6cMq1mMPeMPTAk3OcjsrshHb5qpkZyVSpRh7vB6901CBAmcdPKVptq vvNXGJyhMLUMLzf/9fekPXG98E2mDRo0eP+AEWk7pROj7giMuXSf9ecSt06tNNMuqIeabXNAU pubxFMG58s5Na3WNa339EBTw6EtApGhY5snDNy8ey1DYSpji8y20+sAxClzmDRnWmM5jKF2/i LlyUYoW/IIZsoWce5BuEGjjFfumAd/F5WDFhOtBToTcYaFsK3vZVvAcVArxHJmnSKBJw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.20 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:187929 Archived-At: > 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? For example, on Windows I need accurate dimensions of decorations to emulate fullheight and fullwidth fullscreen modes. And if I want to display a tooltip at a certain position within a window I need them as well. >> 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. No. The root window is beneath the tool bar window separated from the latter by the internal border. >> >> 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)) This doesn't help me to find out why your `window-absolute-pixel-edges' returns (-8 28 1912 984) on Windows 7. I need your value for Windows 7. martin