[dev] dwm 5.9 small patch for non xinerama users

2011-07-22 Thread mauro tonon
Hi. I noted that if i disable Xinerama, i don't use also the following functions: dirtomon, focusmon, tagmon. So, i think it is possible to hold all these functions between "#ifdef XINERAMA ... #endif". The difference in the final binary file size is very little but... A possible patch is attached

Re: [dev] dwm 5.9 small patch for non xinerama users

2011-07-26 Thread mauro tonon
2011/7/25 Thomas Dahms : > Hi, > > 2011/7/22 mauro tonon : >> I noted that if i disable Xinerama, i don't use also the following >> functions: dirtomon, focusmon, tagmon. >> So, i think it is possible to hold all these functions between "#ifdef >> XIN

Re: [dev] dwm 5.9 small patch for non xinerama users

2011-07-26 Thread mauro tonon
Grep is your friend. > > On Jul 26, 2011 9:10 AM, "mauro tonon" wrote: >> 2011/7/25 Thomas Dahms : >>> Hi, >>> >>> 2011/7/22 mauro tonon : >>>> I noted that if i disable Xinerama, i don't use also the following >>>> fu

[dev] [dwm] applications in floating layout mode by default

2011-07-29 Thread mauro tonon
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

Re: [dev] Re: [9base][awk] printf and utf-8

2013-01-22 Thread mauro tonon
2013/1/22 Peter A. Shevtsov : > On 22/01/13 at 02:32pm, Peter A. Shevtsov wrote: > >> It seems that it counts every cyrillic letter as two, i. e. it ain't count >> letters >> (or runes) but bytes. > > Indeed, > > echo latin кириллица | /usr/local/plan9/bin/awk '{printf("%d %d\n", > length($1), >