Ver Fonte

fix of typo, thx to Enno Gottox Boland

Premysl Hruby há 16 anos atrás
pai
commit
bf9da23f07
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      dwm.c

+ 1 - 1
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 */