On Fri, May 25, 2007 at 01:31:11PM +0000, Anselm R. Garbe wrote:
> changeset: 902:e1ca8a59820a
> tag: tip
> user: Anselm R. Garbe <arg_AT_suckless.org>
> date: Fri May 25 15:28:10 2007 +0200
> summary: applied anydots proposal to let togglefloating restore fixed windows
>
> diff -r 8f6f61e07567 -r e1ca8a59820a client.c
> --- a/client.c Thu May 24 16:25:09 2007 +0200
> +++ b/client.c Fri May 25 15:28:10 2007 +0200
> @@ -305,6 +305,8 @@ togglefloating(const char *arg) {
> if(!sel || lt->arrange == floating)
> return;
> sel->isfloating = !sel->isfloating;
> + if(sel->isfloating && sel->isfixed)
> + resize(sel, sel->x, sel->y, sel->minw, sel->minh, True);
> lt->arrange();
> }
I'm not sure if the True is necessary, since a client should
choose a minimum w/h to fit. Anyone knows a counterpart?
Regards,
-- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361Received on Fri May 25 2007 - 15:34:01 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:50 UTC