corrected order of t->sel = i; in select_area, needs to be after focus_client, otherwise old-grabbing won't work

This commit is contained in:
Anselm R. Garbe 2006-03-11 21:13:44 +01:00
parent cfb4f73ab6
commit e5ea2fb4fd

View File

@ -106,9 +106,9 @@ select_area(Area *a, char *arg)
return;
}
new = t->area[i];
t->sel = i;
if(new->nframe)
focus_client(new->frame[new->sel]->client);
t->sel = i;
for(i = 0; i < a->nframe; i++)
draw_client(a->frame[i]->client);
}