On Mon, Dec 31, 2001 at 10:22:53AM +0100, Markus Grunwald wrote:
> Hi !
>
> First: fvwm is great. Thank you ;)
>
> But I don't like the standard behaviour how windows are put on
> the screen from left to right. I would like that they are
> created from top to bottom.
>
> I asked this question a while ago, unfortunately the answer was
> "not possible". Now I have a little spare time and would like to
> implement that feature myself. Since this is the first time I
> would look into the fvwm2 source I some little hints where to
> start best...
All the placement code is in fvwm/placement.c. The two functions
you want to start looking at are SmartPlacement() and
CleverPlacement(). You should make this a style option similar to
th TBLR arguments of the IconBox style. For the new style, you
have to touch
style.c
style.h
window_flags.h
fvwm.h (the flag for the style belongs into the 'style only'
part of the flags)
And please don't forget to add a ChangeLog entriy for every
function you touch.
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jan 02 2002 - 04:50:30 GMT