equal
deleted
inserted
replaced
184 Client *c; |
184 Client *c; |
185 |
185 |
186 if(ev->state == PropertyDelete) |
186 if(ev->state == PropertyDelete) |
187 return; /* ignore */ |
187 return; /* ignore */ |
188 |
188 |
189 if(ev->atom == wm_atom[WMProtocols]) { |
|
190 c->proto = win_proto(c->win); |
|
191 return; |
|
192 } |
|
193 if((c = getclient(ev->window))) { |
189 if((c = getclient(ev->window))) { |
|
190 if(ev->atom == wm_atom[WMProtocols]) { |
|
191 c->proto = win_proto(c->win); |
|
192 return; |
|
193 } |
194 switch (ev->atom) { |
194 switch (ev->atom) { |
195 default: break; |
195 default: break; |
196 case XA_WM_TRANSIENT_FOR: |
196 case XA_WM_TRANSIENT_FOR: |
197 XGetTransientForHint(dpy, c->win, &c->trans); |
197 XGetTransientForHint(dpy, c->win, &c->trans); |
198 break; |
198 break; |