[ icewm-Patches-2350282 ] gravity winoption

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Patches item #2350282, was opened at 2008-11-26 11:53
Message generated for change (Comment added) made by lebert
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300031&aid=2350282&group_id=31

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bert Wesarg (lebert)
Assigned to: Nobody/Anonymous (nobody)
Summary: gravity winoption

Initial Comment:
This is a preliminary patch to provide a new winoption for setting the gravity. It's barely tested and I'm actually unsude if its work. So I'm looking for comments on this. Thanks.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-11-28 14:24

Message:
I have learned a little more: the window position is not effected by the
gravity only resize requests.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-11-26 13:05

Message:
You can test this with a tool from the metacity package:
src/wm-tester/test-gravity


----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-11-26 12:59

Message:
I have not invented 'gravity'. Its long in X. If I understand it right (and
I hope so) the normal gravity is NorthWest, i.e. top left corner. A new
window will be placed there. Resize and Move requests will be made, so that
the top/left corner of the window will stay at this position. If its
NorthEast the top/right corner would stay at the same position.

I would like to have this, because my editor is in the top/right corner.
and sometimes if I open a file with thousends of lines, the editor widens
the window, so that all line numbers fit. With the correct gravity the
window would move slightly to the left also, so that nothing is hidden on
the right side.

----------------------------------------------------------------------

Comment By: Eduard Bloch (thefirstone)
Date: 2008-11-26 12:39

Message:
Hello,

would you care to explain what Gravity actually is? Maybe using wording
suitable for documentation?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300031&aid=2350282&group_id=31

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.