Re: FVWM: Window manager refit windows function

2010-02-12 Thread Nathan Hüsken
On 02/11/2010 10:47 PM, Thomas Adam wrote: On Thu, Feb 11, 2010 at 05:52:58PM +0100, Nathan H?sken wrote: On 02/10/2010 07:50 PM, Elliot S wrote: You can move the window to its center and then shrink/expand. You can check for overlap by piping to a script. Hi, With

Re: FVWM: Window manager refit windows function

2010-02-12 Thread Thomas Adam
On 12 February 2010 08:29, Nathan Hüsken f...@lonely-star.org wrote: I am sorry if I am bothering or am asking stupid questions, but I really can not find it in the fvwm documentation (looking throught the manpages and the html documentation). I understand how PipeRead works (that I found in

Re: FVWM: Window manager refit windows function

2010-02-12 Thread Nathan Hüsken
On 02/12/2010 09:51 AM, Thomas Adam wrote: On 12 February 2010 08:29, Nathan Hüsken f...@lonely-star.org wrote: I am sorry if I am bothering or am asking stupid questions, but I really can not find it in the fvwm documentation (looking throught the manpages and the html documentation). I

Re: FVWM: Window manager refit windows function

2010-02-12 Thread Nathan Hüsken
On 02/12/2010 11:45 AM, Thomas Adam wrote: On 12 February 2010 10:34, Nathan Hüsken f...@lonely-star.org wrote: I am getting there, just a little piece missing. For testing, I did: AddToFunc Tile + I SetEnv cur_x $[w.x] + I SetEnv cur_y $[w.y] + I SetEnv cur_width $[w.width] +

Re: FVWM: Window manager refit windows function

2010-02-11 Thread Nathan Hüsken
On 02/10/2010 07:50 PM, Elliot S wrote: You can move the window to its center and then shrink/expand. You can check for overlap by piping to a script. Hi, With piping to a script you mean using PipeRead? How can I inform the script about the windows on the current desktop? Thanks! Nathan

Re: FVWM: Window manager refit windows function

2010-02-10 Thread Nathan Hüsken
On 02/09/2010 07:33 PM, Elliot S wrote: You can shrink the window and then regrow it. AddToFunc Tile + I Resize 0 0 + I Maximize grow grow + I Max2Size $[w.width] $[w.height] $[w.x] $[w.y] AddToFunc Max2Size + I ResizeMove $0p $1p $2p $3p + I Resize br w-10p w-27p #

Re: FVWM: Window manager refit windows function

2010-02-10 Thread Kathryn Andersen
On Tue, Feb 09, 2010 at 12:53:32PM +0100, Nathan H?sken wrote: A function that refits all windows on the screen by making minmal adjustments. Lets say I have 3 windows. I put one in top right, on in bottom right and one on the left. I do this roughly with the mouse. Now if the do not

Re: FVWM: Window manager refit windows function

2010-02-10 Thread Kathryn Andersen
On Wed, Feb 10, 2010 at 10:33:06PM +, Thomas Adam wrote: On Thu, Feb 11, 2010 at 09:19:48AM +1100, Kathryn Andersen wrote: On Tue, Feb 09, 2010 at 12:53:32PM +0100, Nathan H?sken wrote: A function that refits all windows on the screen by making minmal adjustments. Does anything

Re: FVWM: Window manager refit windows function

2010-02-09 Thread Thomas Adam
On 9 February 2010 11:53, Nathan Hüsken f...@lonely-star.org wrote: Hi, fvwm has many cool windows replacing and resizing functions. But one thing I was not able to do so far: A function that refits all windows on the screen by making minmal adjustments. What do I mean? Lets say I have

Re: FVWM: Window manager refit windows function

2010-02-09 Thread Nathan Hüsken
On 02/09/2010 02:16 PM, Thomas Adam wrote: On 9 February 2010 11:53, Nathan Hüsken f...@lonely-star.org wrote: Hi, fvwm has many cool windows replacing and resizing functions. But one thing I was not able to do so far: A function that refits all windows on the screen by making minmal