aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPremysl Hruby2009-02-12 17:26:12 +0100
committerPremysl Hruby2009-02-12 17:26:12 +0100
commitbf9da23f07249cfe8f5a5a5c4256d919b353b10c (patch)
tree4f4fb46ced5e865dd1a601c2dec85f8081a1c057
parent23739402150fd182244f36b58de4749a3fa4265c (diff)
fix of typo, thx to Enno Gottox Boland
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index db9e9c0..cfe1e7b 100644
--- 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 */