aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2019-02-25 16:40:49 +0000
committerokan2019-02-25 16:40:49 +0000
commit8f7c934cef0f223e5fc0d06b2f0cba386b5b8fd8 (patch)
tree9b2063e8cccf02d9d7066bc7d2109a74f2805f3e /conf.c
parentcd6bd49abd762f448b4b352b69e2cc9f9ca5dfef (diff)
downloadcwm-8f7c934cef0f223e5fc0d06b2f0cba386b5b8fd8.tar.gz
Add 'group-close-[n]' action to close all windows within specified group.
heavily based on a diff from Nam Nguyen.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index dde35ab..2d3f931 100644
--- a/conf.c
+++ b/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.244 2019/02/22 19:40:33 okan Exp $
+ * $OpenBSD: conf.c,v 1.245 2019/02/25 16:40:49 okan Exp $
*/
#include <sys/types.h>
@@ -143,6 +143,15 @@ static const struct {
{ FUNC_SC(group-only-7, group_only, 7) },
{ FUNC_SC(group-only-8, group_only, 8) },
{ FUNC_SC(group-only-9, group_only, 9) },
+ { FUNC_SC(group-close-1, group_close, 1) },
+ { FUNC_SC(group-close-2, group_close, 2) },
+ { FUNC_SC(group-close-3, group_close, 3) },
+ { FUNC_SC(group-close-4, group_close, 4) },
+ { FUNC_SC(group-close-5, group_close, 5) },
+ { FUNC_SC(group-close-6, group_close, 6) },
+ { FUNC_SC(group-close-7, group_close, 7) },
+ { FUNC_SC(group-close-8, group_close, 8) },
+ { FUNC_SC(group-close-9, group_close, 9) },
{ FUNC_SC(pointer-move-up, ptrmove, (CWM_UP)) },
{ FUNC_SC(pointer-move-down, ptrmove, (CWM_DOWN)) },