[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5721: Feature request: Function that returns absolute coordinates

From: Jan Djärv
Subject: bug#5721: Feature request: Function that returns absolute coordinates
Date: Fri, 16 Jul 2010 14:19:21 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv: Gecko/20100608 Thunderbird/3.1

YAMAMOTO Mitsuharu skrev 2010-07-16 10.58:
On Fri, 16 Jul 2010 10:49:01 +0200, Jan Djärv<address@hidden>  said:

That depends on your window manager.  If I do the same command, I get 'top
equal to 124, as the title bar is 24 pixels high and the window
manager (Compiz) puts the top of the title bar at 100.  Other window
managers may choose to put the Emacs window at 100 and the title bar
above that.  It isn't defined what a window manager should do.

I also checked that CDE's window manager behaves like Mac OS X's,
i.e., left/top frame parameters points to the title bar.

You mean one can specify the position of the top-left corner of the
title bar with the geometry specification, but that cannot reliably be
done with left/top frame parameters?

When there is a window manager present, no move or resize can be done reliably. The window manager is free to modify them. Some don't allow move partly offscreen, some do. Some don't allow move over the gnome-panel, some do.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]