equal
deleted
inserted
replaced
1013 propertynotify(XEvent *e) { |
1013 propertynotify(XEvent *e) { |
1014 Client *c; |
1014 Client *c; |
1015 Window trans; |
1015 Window trans; |
1016 XPropertyEvent *ev = &e->xproperty; |
1016 XPropertyEvent *ev = &e->xproperty; |
1017 |
1017 |
1018 if((ev->window == root) && (ev->atom = XA_WM_NAME)) |
1018 if((ev->window == root) && (ev->atom == XA_WM_NAME)) |
1019 updatestatus(); |
1019 updatestatus(); |
1020 else if(ev->state == PropertyDelete) |
1020 else if(ev->state == PropertyDelete) |
1021 return; /* ignore */ |
1021 return; /* ignore */ |
1022 else if((c = getclient(ev->window))) { |
1022 else if((c = getclient(ev->window))) { |
1023 switch (ev->atom) { |
1023 switch (ev->atom) { |