[dwm] Suggestion "float my next window"

From: Tri PLC <triplc_AT_gmail.com>
Date: Tue, 13 May 2008 18:32:39 +0700

Hi

It's a suggestion to create a "float next windows" feature.

I also learn that in 5.0 maybe the toggle-float will restore the window
dimension, so maybe this feature is not needed.

Thanks

----------------------------

% diff config.def.h config.h
42a46,53
> /* my hack for floater */
> Bool td_floater (Bool set_flag) {
> static Bool float_flag = False;
> Bool f = float_flag;
> float_flag = set_flag;
> return f;
> }
>
....
> { MODKEY, XK_f, td_floater, True },
....

% diff dwm.c.orig dwm.c
1034c1034
< c->isfloating = (rettrans == Success) || c->isfixed;

---
>         c->isfloating = td_floater(False) || (rettrans == Success) ||
c->isfixed; /* td floater hack */
Received on Tue May 13 2008 - 13:32:43 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:38:53 UTC