From 71f99ab78fb8f5f8c4ae93f7ed0529320c6fe391 Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 19 May 2008 17:13:55 +0000 Subject: allow an autogroup value of 0 to mean no group. This means you can set automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@. --- group.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'group.c') diff --git a/group.c b/group.c index 616f30b..589015a 100644 --- a/group.c +++ b/group.c @@ -328,6 +328,9 @@ group_autogroup(struct client_ctx *cc) } } + if (strncmp("nogroup", group, 7) == 0) + return; + TAILQ_FOREACH(gc, &Groupq, entry) { if (strcmp(shortcut_to_name[gc->shortcut], group) == 0) { _group_add(gc, cc); -- cgit 1.4.1