fix of typo, thx to Enno Gottox Boland

This commit is contained in:
Premysl Hruby 2009-02-12 17:26:12 +01:00
parent 2373940215
commit bf9da23f07
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -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 */