aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2019-02-25 16:40:49 +0000
committerokan2019-02-25 16:40:49 +0000
commit8f7c934cef0f223e5fc0d06b2f0cba386b5b8fd8 (patch)
tree9b2063e8cccf02d9d7066bc7d2109a74f2805f3e /calmwm.h
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 '')
-rw-r--r--calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index c5521d9..aac949d 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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: calmwm.h,v 1.363 2019/02/22 19:40:32 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.364 2019/02/25 16:40:49 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -451,6 +451,7 @@ int group_holds_only_sticky(struct group_ctx *);
void group_init(struct screen_ctx *, int);
void group_movetogroup(struct client_ctx *, int);
void group_only(struct screen_ctx *, int);
+void group_close(struct screen_ctx *, int);
int group_restore(struct client_ctx *);
void group_show(struct group_ctx *);
void group_toggle_membership(struct client_ctx *);
@@ -508,6 +509,7 @@ void kbfunc_client_toggle_group(void *, struct cargs *);
void kbfunc_client_movetogroup(void *, struct cargs *);
void kbfunc_group_toggle(void *, struct cargs *);
void kbfunc_group_only(void *, struct cargs *);
+void kbfunc_group_close(void *, struct cargs *);
void kbfunc_group_cycle(void *, struct cargs *);
void kbfunc_group_alltoggle(void *, struct cargs *);
void kbfunc_menu_client(void *, struct cargs *);