Re: [dwm] visibility of focused windows

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 5 Mar 2008 16:33:18 +0100

On Wed, Mar 05, 2008 at 03:45:09PM +0100, Szabolcs Nagy wrote:
> On 3/5/08, Jeremy O'Brien <obrien654j_AT_gmail.com> 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
Received on Wed Mar 05 2008 - 16:33:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:23:19 UTC