Sfoglia il codice sorgente

fix of typo, thx to Enno Gottox Boland

Premysl Hruby 16 anni fa
parent
commit
bf9da23f07
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 */