mirror of https://github.com/0intro/wmii
no selection if only one object exists
This commit is contained in:
parent
7fdbcc92d1
commit
d8daa2fe96
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue