Hi!

        This patch touches solely the move_resize.c.  I've tried to modify
fvwm2.1, but my roff skills seem to be below what required to keep
"Maximize" description in the same style (the latter seems a bit wrong BTW
-- too many spaces).

        I've added an optional "global" switch, which means that
maximization should be made on a global screen, otherwise it is made on 
the screen where the center of a window is.  "grow*" are also adjusted
(that turned to be the easiest part of the task).

        There are some problems with maximizing windows that aren't on the
current page when the page itself doesn't start on a page boundary, but
that effect existed before anyway.  

        And there is a comment "maximize on visible page" after
IsRectangleOnThisPage() check, which doesn't seem to be correct -- somehow
it happens that windows are maximized on visible page even if they are by
some part (not entirely) on it. 

BTW, Dominik, was it done intentionally that in Xinerama emulation mode
     the vertical separator doesn't separate, but in fact overlaps two
     left pixels of the second pseudo-screen?  The result seems a bit
     confusing ;-)

        _________________________________________
          Dmitry Yu. Bolkhovityanov
          [EMAIL PROTECTED]
          The Budker Institute of Nuclear Physics

Attachment: maximize.diff.gz
Description: Binary data

Reply via email to