[openbox] Expand window to the available space

Antoine antoine.vigouroux at numericable.fr
Sun May 4 14:46:01 EDT 2014

On 04/05/2014 15:44, Mikael Magnusson wrote:
> On 4 May 2014 12:07, Antoine <antoine.vigouroux at numericable.fr> wrote:
>> 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?
> This should be in the next release,
> http://git.openbox.org/?p=mikachu/openbox.git;a=commit;h=e6a0beb34bfe3f445a115eb6df9276bb2692f7dd
Thanks, this is why Openbox is the best!

More information about the openbox mailing list