summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2016-10-05 13:35:18 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2016-10-05 13:35:18 +0000
commit3250b0a4563c374636a319a94e011012bd5753e3 (patch)
tree831d1e5194e6acd2db5acce810d47e0dfa3bda29
parent942155ff1ef3f11956038fcbd688cdc629b2507f (diff)
Add CM-a for 'nogroup' (CM-0 stays for now); update manpage to reflect.
-rw-r--r--app/cwm/conf.c3
-rw-r--r--app/cwm/cwm.16
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 <sys/types.h>
@@ -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 <marius@monkey.org>
.\"
@@ -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.