mirror of
https://github.com/0intro/wmii
synced 2025-02-08 18:34:43 +03:00
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)
|
||||
i++;
|
||||
}
|
||||
if(cell)
|
||||
if(cell && cell != col)
|
||||
focus_col(l, cell->frame->sel, True);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user