commit d8daa2fe9649c240600127ee82149074fbbbf476
parent 7fdbcc92d186bfbf4b5aa5688b5761f5634e1624
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Thu, 19 Jan 2006 11:35:31 +0200
no selection if only one object exists
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c
@@ -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);
}