Exemplo n.º 1
0
Arquivo: area.c Projeto: bartman/wmii
void
area_attach(Area *a, Frame *f) {

	f->area = a;
	if(a->floating)
		float_attach(a, f);
	else
		column_attach(a, f);

	view_arrange(a->view);

	if(btassert("4 full", a->frame && a->sel == nil))
		a->sel = a->frame;
}
Exemplo n.º 2
0
void
area_attach(Area *a, Frame *f) {

	f->area = a;
	if(a->floating)
		float_attach(a, f);
	else
		column_attach(a, f);

	view_arrange(a->view);
	event("AreaAttach %s %a %#C\n", a->view->name, a, f->client);

	if(btassert("4 full", a->frame && a->sel == nil))
		a->sel = a->frame;
}