On Wed, Feb 10, 2010 at 10:33:06PM +0000, 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 like this exist or is possible? > > > > FvwmRearrange has already been mentioned, but it does not do quite what > > you want; as you say, it applies a predetermined layout rather than > > keeping your windows close to how you had them. > > I looked at your code ages ago -- it would need a massive amount of cleanup > to actually be of any use upstream -- thankfully, I know Perl quite well, > although some of the design goals don't meet any requirements that FVWM has > -- perhaps you're better off trying to emulate XMonad by yourself. When I > get 2.6.0 out the door, I'll send you a diff to make it better. Thanks. As I said, beta code. I'll look forward to the diff. I was holding off on posting about FvwmPiazza here because I knew that people would be more interested in the upcoming 2.6.0, but mentioned it this time because I thought it might help the OP. I'm not sure what you mean by "perhaps you're better off trying to emulate XMonad by yourself". I want to use Fvwm, not XMonad. > The simpler solution would be to check for !Overlapped, and to use any one > of the PackFoo* functions found on the Internet to implement this. But I'll > reiterate again, FvwmRearrange or your code likely does nothing to solve the > original problem. True, but I thought it worth mentioning anyway, just in case FvwmPiazza gave a similar end result to what the OP was asking for, even though it takes a different approach. Kathryn Andersen -- _--_|\ | Kathryn Andersen <http://www.katspace.org> / \ | \_.--.*/ | <http://kerravonsen.dreamwidth.org/> v | <http://kerravonsen.redbubble.com/> ------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe