# HG changeset patch
# User Premysl Hruby <dfenze@gmail.com>
# Date 1234455972 -3600
# Node ID 85a8eff4c1233793165b94206bf09c9d6431fad5
# Parent  cf81cf8ab206da782793286f0d454cd1e7af8dea
fix of typo, thx to Enno Gottox Boland

diff -r cf81cf8ab206 -r 85a8eff4c123 dwm.c
--- 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 */