fixed applyrules bug a82cba27
Anselm R Garbe · 2008-03-04 18:13 1 file(s) · +2 −2
dwm.c +2 −2
1002 1002
	c->tags = emallocz(TAGSZ);
1003 1003
	c->win = w;
1004 1004
1005 -
	applyrules(c);
1006 -
1007 1005
	c->x = wa->x + sx;
1008 1006
	c->y = wa->y + sy;
1009 1007
	c->w = wa->width;
1038 1036
		for(t = clients; t && t->win != trans; t = t->next);
1039 1037
	if(t)
1040 1038
		memcpy(c->tags, t->tags, TAGSZ);
1039 +
	else
1040 +
		applyrules(c);
1041 1041
	if(!c->isfloating)
1042 1042
		c->isfloating = (rettrans == Success) || c->isfixed;
1043 1043
	attach(c);