From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5721: Feature request: Function that returns absolute coordinates Date: Sat, 17 Jul 2010 10:37:00 +0200 Message-ID: <4C416BAC.3020202@swipnet.se> References: <4B9E4521.9030909@yahoo.co.jp> <4C2D9009.60405@swipnet.se> <4C3DD633.7040004@swipnet.se> <4C3EA59E.40300@swipnet.se> <4C3EBDAD.1040800@swipnet.se> <4C3EC17E.6060101@swipnet.se> <4C3EC863.3030803@swipnet.se> <4C3ECE08.2040604@swipnet.se> <4C3ED669.1020607@swipnet.se> <4C3EE966.5050704@swipnet.se> <4C3FFE74.2090602@swipnet.se> < 4C401CFD.3020306@swipnet.se> <4C404E49.1050101@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279357245 2688 80.91.229.12 (17 Jul 2010 09:00:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Jul 2010 09:00:45 +0000 (UTC) Cc: 5721@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 17 11:00:44 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa3GF-0007NU-2c for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jul 2010 11:00:43 +0200 Original-Received: from localhost ([127.0.0.1]:59219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oa3GE-0005Er-4a for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jul 2010 05:00:42 -0400 Original-Received: from [140.186.70.92] (port=54822 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oa3G1-0005DK-Ru for bug-gnu-emacs@gnu.org; Sat, 17 Jul 2010 05:00:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oa3G0-0004IY-8l for bug-gnu-emacs@gnu.org; Sat, 17 Jul 2010 05:00:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35206) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa3G0-0004IR-6T for bug-gnu-emacs@gnu.org; Sat, 17 Jul 2010 05:00:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oa2tK-00060v-0T; Sat, 17 Jul 2010 04:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Jul 2010 08:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5721-submit@debbugs.gnu.org id=B5721.127935580823108 (code B ref 5721); Sat, 17 Jul 2010 08:37:01 +0000 Original-Received: (at 5721) by debbugs.gnu.org; 17 Jul 2010 08:36:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa2t6-00060f-BM for submit@debbugs.gnu.org; Sat, 17 Jul 2010 04:36:48 -0400 Original-Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oa2t4-0005zl-CM for 5721@debbugs.gnu.org; Sat, 17 Jul 2010 04:36:47 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id AE609E9467 for <5721@debbugs.gnu.org>; Sat, 17 Jul 2010 10:37:01 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmY7AIsIQUxV4S0jPGdsb2JhbACHcpd7DAEBAQE1Lb84hSUEkhg X-IronPort-AV: E=Sophos;i="4.55,218,1278280800"; d="scan'208";a="548946048" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 17 Jul 2010 10:37:01 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id C78E57FA05A; Sat, 17 Jul 2010 10:37:00 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 17 Jul 2010 04:37:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38625 Archived-At: YAMAMOTO Mitsuharu skrev 2010-07-17 07.32: >>>>>> On Sat, 17 Jul 2010 09:30:43 +0900, YAMAMOTO Mitsuharu said: > >> Even with Compiz, left/top frame parameters point to the title bar >> if we turn off visual effects. I tested it with Ubuntu 10.04. > >> I suspect x_real_positions fails to get the window for decoration >> for Compiz if visual effects are turned on. Maybe Compiz does not >> assign X11 windows for window decorations. There are no other windows than X windows... But the parent-child relationship may be different. > > As far as I tested with xprop and xwininfo, _NET_FRAME_WINDOW and/or > _NET_[REQUEST_]FRAME_EXTENTS seem to be useful for x_real_positions to > do the documented job. (Though I could not find the former in EWMH.) Not portable for all window managers so we have to keep the old way anyway. _NET_REQUEST_FRAME_EXTENTS is in version 1.4 of EWMH. Jan D.