fix of typo, thx to Enno Gottox Boland
authorPremysl Hruby <dfenze@gmail.com>
Thu, 12 Feb 2009 17:26:12 +0100
changeset 1385 85a8eff4c123
parent 1384 cf81cf8ab206
child 1386 a98f0e8ea6cb
fix of typo, thx to Enno Gottox Boland
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 */