commit bf9da23f07249cfe8f5a5a5c4256d919b353b10c
parent 23739402150fd182244f36b58de4749a3fa4265c
Author: Premysl Hruby <dfenze@gmail.com>
Date:   Thu, 12 Feb 2009 17:26:12 +0100
fix of typo, thx to Enno Gottox Boland
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -1015,7 +1015,7 @@ propertynotify(XEvent *e) {
 	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 */