Expand window to the available space

Antoine <antoine.vigouroux-Bf/[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Message-ID <[email protected]>
Hello!
I'm trying to replace the maximize button with a "grow to available 
space" button. By this I mean enlarging the window as much as possible 
without overlapping any other window. For now, I used the "GrowToEdge" 
command, but it doesn't really work as expected.
If I put two small windows side by side and click my button on the first 
window, it will actually expand to the available space. But then, when I 
expand the second window, it will grow over the other window and take 
the whole screen, due to the strange behaviour of GrowToEdge when the 
windows are already overlapping.
Is there a way I can fix this?

Cheers,
Antoine
_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.