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

2
dwm.c
View file

@ -1015,7 +1015,7 @@ propertynotify(XEvent *e) {
Window trans; Window trans;
XPropertyEvent *ev = &e->xproperty; XPropertyEvent *ev = &e->xproperty;
if((ev->window == root) && (ev->atom = XA_WM_NAME)) if((ev->window == root) && (ev->atom == XA_WM_NAME))
updatestatus(); updatestatus();
else if(ev->state == PropertyDelete) else if(ev->state == PropertyDelete)
return; /* ignore */ return; /* ignore */