On Wed, Mar 05, 2008 at 03:45:09PM +0100, Szabolcs Nagy wrote:
> On 3/5/08, Jeremy O'Brien <[EMAIL PROTECTED]> wrote:
> > Do you have a quick solution for maximizing floating windows?
> 
> an ugly solution would be a key binding for:
> togglefloat()
> monocle()
> togglefloat()
> tile()
> 
> but this way you cannot restore the original size
> 
> to restore the original state you should save the size before
> maximizing and the current client struct has no space for that
> 
> if you want to implement a correct togglemax for floating windows then
> you have to extend the client struct
> 
> (i guess floating win maximization is a rare use case among dwm users
> so it doesn't worth the extra attributes in client, but i can be
> wrong)


Well, what about a different monocle, which only maximizes the 
focused window, and restores the previously focused window
again. With this, we could make it work on all clients.

Kind regards,
-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361

Reply via email to