From 62af7b9761ca65e8ec0c401f4bb4dd931c96d4f0 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 5 Oct 2016 13:35:17 +0000 Subject: [PATCH] Add CM-a for 'nogroup' (CM-0 stays for now); update manpage to reflect. --- app/cwm/conf.c | 3 ++- app/cwm/cwm.1 | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/cwm/conf.c b/app/cwm/conf.c index 55ac921e2..f1e89795e 100644 --- a/app/cwm/conf.c +++ b/app/cwm/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.213 2016/10/05 13:10:59 okan Exp $ + * $OpenBSD: conf.c,v 1.214 2016/10/05 13:35:17 okan Exp $ */ #include @@ -192,6 +192,7 @@ static const struct { { "MS-Tab", "rcycle" }, { "CM-n", "label" }, { "CM-x", "delete" }, + { "CM-a", "nogroup" }, { "CM-0", "nogroup" }, { "CM-1", "group1" }, { "CM-2", "group2" }, diff --git a/app/cwm/cwm.1 b/app/cwm/cwm.1 index 4fbcfc76b..db2d9054f 100644 --- a/app/cwm/cwm.1 +++ b/app/cwm/cwm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cwm.1,v 1.53 2015/08/21 16:52:37 okan Exp $ +.\" $OpenBSD: cwm.1,v 1.54 2016/10/05 13:35:17 okan Exp $ .\" .\" Copyright (c) 2004,2005 Marius Aamodt Eriksen .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 21 2015 $ +.Dd $Mdocdate: October 5 2016 $ .Dt CWM 1 .Os .Sh NAME @@ -97,7 +97,7 @@ Reverse cycle through currently visible windows. Delete current window. .It Ic CM-[n] Select group n, where n is 1-9. -.It Ic CM-0 +.It Ic CM-a Select all groups. .It Ic CM-g Toggle group membership of current window.