[dwm] [PATCH] small fix in propertynotify

2009-02-12 Thread Enno Gottox Boland
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)



Re: [dwm] [PATCH] small fix in propertynotify

2009-02-12 Thread Premysl Hruby
On (12/02/09 17:16), Enno Gottox Boland wrote:
 To: dwm mail list d...@lists.suckless.org
 From: Enno Gottox Boland got...@gmail.com
 Subject: [dwm] [PATCH] small fix in propertynotify
 Reply-To: dwm mail list dwm@suckless.org
 List-Id: dwm mail list dwm.suckless.org
 
 looks like a typo.
 

Yes, it was. Now it's gone thanks to you.

-Ph

-- 
Premysl Anydot Hruby, http://www.redrum.cz/



Re: [dwm] [PATCH] small fix in propertynotify

2009-02-12 Thread Peter Hartlich
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] nmaster strikes back

2009-02-12 Thread Ryan Rodriguez

Yes I use it on all my comptuers! Especially on my 2650x1600.

=P

On Feb 11, 2009, at 9:59 AM, Jimmy Tang jt...@tchpc.tcd.ie 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] solaris regression tests

2009-02-12 Thread Stefan Kuttler
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