dwm.c
changeset 1320 a63cb246f35c
parent 1319 fb29ceb5932a
child 1321 bca7a556aa03
equal deleted inserted replaced
1319:fb29ceb5932a 1320:a63cb246f35c
   901 	configure(c); /* propagates border_width, if size doesn't change */
   901 	configure(c); /* propagates border_width, if size doesn't change */
   902 	updatesizehints(c);
   902 	updatesizehints(c);
   903 	XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
   903 	XSelectInput(dpy, w, EnterWindowMask|FocusChangeMask|PropertyChangeMask|StructureNotifyMask);
   904 	grabbuttons(c, False);
   904 	grabbuttons(c, False);
   905 	updatetitle(c);
   905 	updatetitle(c);
   906 	if((rettrans = XGetTransientForHint(dpy, w, &trans) == Success))
   906 	if((rettrans = XGetTransientForHint(dpy, w, &trans)) == Success)
   907 		for(t = clients; t && t->win != trans; t = t->next);
   907 		t = getclient(trans);
   908 	if(t)
   908 	if(t)
   909 		c->tags = t->tags;
   909 		c->tags = t->tags;
   910 	else
   910 	else
   911 		applyrules(c);
   911 		applyrules(c);
   912 	if(!c->isfloating)
   912 	if(!c->isfloating)