Mercurial > dwm-meillo
comparison event.c @ 30:2e0fb4130bfb
new stuff, fixed several issues
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Wed, 12 Jul 2006 17:50:31 +0200 |
parents | 8ad86d0a6a53 |
children | 386649deb651 |
comparison
equal
deleted
inserted
replaced
29:8ad86d0a6a53 | 30:2e0fb4130bfb |
---|---|
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; |