From d8daa2fe9649c240600127ee82149074fbbbf476 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 19 Jan 2006 11:35:31 +0200 Subject: [PATCH] no selection if only one object exists --- cmd/wm/layout_column.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c index 468c9397..54bd2458 100644 --- 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); }