dwm.c
changeset 1385 85a8eff4c123
parent 1383 85a78d8afa0f
child 1386 a98f0e8ea6cb
--- a/dwm.c	Sun Feb 08 12:11:35 2009 +0000
+++ b/dwm.c	Thu Feb 12 17:26:12 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 */