By the way, why applyrules sets tags and isfloating to 0 before applying
rules? It is already done by calloc() in manage(). And it doesn't set
c->mon to NULL, so I think we can just remove all initialization.
Code cleanup patch:
diff -r b46ae56abe65 dwm.c
--- a/dwm.c Wed Jul 27 19:59:10 201
On Fri, Jul 29, 2011 at 02:20:41PM +0200, mauro tonon wrote:
> Usually, in dwm, I prefer to have only terminals (xterm, rxvt, etc)
> in tiled mode and all other applications in floating mode...
> At first, I added many lines to the rules section in config.h
> but, now, I solved the problem in this
Usually, in dwm, I prefer to have only terminals (xterm, rxvt, etc)
in tiled mode and all other applications in floating mode...
At first, I added many lines to the rules section in config.h
but, now, I solved the problem in this way:
in file config.def.h, before the rules, add:
+ /* Floating def