diff options
| author | Premysl Hruby <dfenze@gmail.com> | 2008-08-14 12:36:49 +0200 | 
|---|---|---|
| committer | Premysl Hruby <dfenze@gmail.com> | 2008-08-14 12:36:49 +0200 | 
| commit | 0ffa6d13939443a84a732f111d483c233b529bbf (patch) | |
| tree | 142aed232e57905e719f5718c8adb55500043d2e | |
| parent | 15ce1436203c1400452a3bd789ac9e1775f19341 (diff) | |
| download | dwm-0ffa6d13939443a84a732f111d483c233b529bbf.tar.gz | |
applied cleanup from M. Hurton and S. Nagy
| -rw-r--r-- | dwm.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -903,8 +903,8 @@ manage(Window w, XWindowAttributes *wa) {  	XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);  	grabbuttons(c, False);  	updatetitle(c); -	if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success)) -		for(t = clients; t && t->win != trans; t = t->next); +	if((rettrans = XGetTransientForHint(dpy, w, &trans)) == Success) +		t = getclient(trans);  	if(t)  		c->tags = t->tags;  	else | 
