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: Coordinates and Windows Date: Wed, 15 Jul 2015 09:00:24 +0200 Message-ID: <55A60508.7090903@gmx.at> 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 1436943655 23325 80.91.229.3 (15 Jul 2015 07:00:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jul 2015 07:00:55 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 15 09:00:48 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 1ZFGgR-0008WB-Fo for ged-emacs-devel@m.gmane.org; Wed, 15 Jul 2015 09:00:47 +0200 Original-Received: from localhost ([::1]:34069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFGgQ-00053R-TW for ged-emacs-devel@m.gmane.org; Wed, 15 Jul 2015 03:00:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFGgD-00050Q-Vg for emacs-devel@gnu.org; Wed, 15 Jul 2015 03:00:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFGgA-0006WV-02 for emacs-devel@gnu.org; Wed, 15 Jul 2015 03:00:33 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:53122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFGg9-0006Vh-Mx for emacs-devel@gnu.org; Wed, 15 Jul 2015 03:00:29 -0400 Original-Received: from [91.113.5.184] ([91.113.5.184]) by mail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C7lpBtQjM0Jr1eEJvr1wmukYDZVuMennGi1oywOlM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.19 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:187878 Archived-At: Section 27.24 of the Elisp manual contains the following description: Coordinates and Windows This section describes functions that report the position of a window. Most of these functions report positions relative to the window's frame. In this case, the coordinate origin `(0,0)' lies near the upper left corner of the frame. For technical reasons, on graphical displays the origin is not located at the exact corner of the graphical window as it appears on the screen. If Emacs is built with the GTK+ toolkit, the origin is at the upper left corner of the frame area used for displaying Emacs windows, below the title-bar, GTK+ menu bar, and tool bar (since these are drawn by the window manager and/or GTK+, not by Emacs). But if Emacs is not built with GTK+, the origin is at the upper left corner of the tool bar (since in this case Emacs itself draws the tool bar). In both cases, the X and Y coordinates increase rightward and downward respectively. My intention is to remove this difference and make the "coordinate origin" for all systems the top/left corner of the root window of the respective frame. Practically, this is what the GTK+ build does now. I'm not yet sure whether this is feasible and whether there will be any difficulties. Anyway, if you see problems or have any objections please tell me now. Thanks, martin