On Sun, May 08, 2005 at 10:53:56AM +0200, Nacho wrote:
> Hi,
> 
> I have my desktop configured with taskbar+pager+gkrellm all in a 103 pixel
> width column at the left of the screen, so when I maximize a window, most of
> the times I want this vertical bar to remain visible; for this I wrote the
> next little function:
> 
> DestroyFunc Maxitotal
> AddToFunc Maxitotal
> + I     Maximize 92 100
> + I     Move 103p 0p

If you have at least fvwm-2.5.0, you can replace this with


Replace this with

  DestroyFunc Maxitotal
  AddToFunc Maxitotal
  + I     ResizeMoveMaximize 92 100 -0 0

> It works fine when maximizing a window, the problem comes when unmaximizing
> it, it returns the window to its original size, but not to its original 
> position, so it's a bit odd...
> 
> I wonder how should I do it, is there any variable where is stored the
> original position of the window? maybe should I use any kind of conditional
> sentence so the "move" command is just executed when the window is not
> maximized?

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to