|
From: | Jan Djärv |
Subject: | bug#5721: Feature request: Function that returns absolute coordinates |
Date: | Sat, 17 Jul 2010 10:37:00 +0200 |
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 |
YAMAMOTO Mitsuharu skrev 2010-07-17 07.32:
On Sat, 17 Jul 2010 09:30:43 +0900, YAMAMOTO Mitsuharu<mituharu@math.s.chiba-u.ac.jp> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |