fix of typo, thx to Enno Gottox Boland
authorPremysl Hruby <dfenze@gmail.com>
Thu, 12 Feb 2009 16:26:12 +0000 (17:26 +0100)
committerPremysl Hruby <dfenze@gmail.com>
Thu, 12 Feb 2009 16:26:12 +0000 (17:26 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index db9e9c0..cfe1e7b 100644 (file)
--- 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 */