Re: [dwm] solaris regression tests
Hi all, After some digging within Solaris PATH Settings, I managed to compile dwm-5.4.1 without problems: (So did others hopefully, but I want to collect nearly all plattforms) ,echo $PATH /usr/bin:/usr/openwin/bin:/usr/ucb:/usr/dist/exe:/usr/sfw:/usr/sfw/bin ,CC=/usr/sfw/bin/gcc ,gmake dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="5.4.1" LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 CC = /usr/sfw/bin/gcc CC dwm.c CC -o dwm ,uname -a SunOS srm-hello-08 5.10 Generic_127111-07 sun4v sparc SUNW,Sun-Fire-T200 ,file dwm dwm:ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped I got the idea of nightly regression tests for dwm (think Tinderbox). This could then be extended to match several patches against several Versions. regards Stefan -- Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Re: [dwm] nmaster strikes back
Yes I use it on all my comptuers! Especially on my 2650x1600. =P On Feb 11, 2009, at 9:59 AM, Jimmy Tang wrote: On Wed, Feb 11, 2009 at 09:57:02AM +0100, Szabolcs Nagy wrote: this way master width cannot be set to a fixed value i'd probably use a macro in the config: .. {.v = REL(-10)}, .. {.v = ABS{2}}, is nmaster that useful? for me it is useful, i would imagine it would be really useful to people with big high res displays (1920x1200 an larger panels) using smallish font sizes. jimmy -- Jimmy Tang Trinity Centre for High Performance Computing, Lloyd Building, Trinity College Dublin, Dublin 2, Ireland. http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang
Re: [dwm] [PATCH] small fix in propertynotify
On 2/12/09, Peter Hartlich wrote: >> - if((ev->window == root) && (ev->atom = XA_WM_NAME)) >> + if((ev->window == root) && (ev->atom == XA_WM_NAME)) > > Why not remove the inner parens as well? Without them, gcc would have > noticed. yes, that's how i'd do (but in certain cases parents makes the code easier to read) now this is what i found in toggletag(): if(!sel) return; mask = sel->tags ^ (arg->ui & TAGMASK); - if(sel && mask) { + if(mask) {
Re: [dwm] [PATCH] small fix in propertynotify
Hi, > - if((ev->window == root) && (ev->atom = XA_WM_NAME)) > + if((ev->window == root) && (ev->atom == XA_WM_NAME)) Why not remove the inner parens as well? Without them, gcc would have noticed. Regards, Peter
Re: [dwm] [PATCH] small fix in propertynotify
On (12/02/09 17:16), Enno Gottox Boland wrote: > To: dwm mail list > From: Enno Gottox Boland > Subject: [dwm] [PATCH] small fix in propertynotify > Reply-To: dwm mail list > List-Id: dwm mail list > > looks like a typo. > Yes, it was. Now it's gone thanks to you. -Ph -- Premysl "Anydot" Hruby, http://www.redrum.cz/
[dwm] [PATCH] small fix in propertynotify
looks like a typo. diff -r cf81cf8ab206 dwm.c --- a/dwm.c Sun Feb 08 12:11:35 2009 + +++ b/dwm.c Thu Feb 12 17:13:40 2009 +0100 @@ -1015,7 +1015,7 @@ Window trans; XPropertyEvent *ev = &e->xproperty; - if((ev->window == root) && (ev->atom = XA_WM_NAME)) + if((ev->window == root) && (ev->atom == XA_WM_NAME)) updatestatus(); else if(ev->state == PropertyDelete) return; /* ignore */ -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)