no selection if only one object exists

This commit is contained in:
Anselm R. Garbe 2006-01-19 11:35:31 +02:00
parent 7fdbcc92d1
commit d8daa2fe96
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ select_frame(void *obj, char *arg)
for(cell = col->cells; cell && i != idx; cell = cell->next) for(cell = col->cells; cell && i != idx; cell = cell->next)
i++; i++;
} }
if(cell) if(cell && cell != col)
focus_col(l, cell->frame->sel, True); focus_col(l, cell->frame->sel, True);
} }