summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2015-08-25 18:29:10 +0000
committerokan <okan>2015-08-25 18:29:10 +0000
commit96262a6b0cc6dbf5d82fcac45b81cbc376c2a0ef (patch)
treecc00864ca8b9c3cfeac0bfb443adf2a807400e39 /calmwm.h
parentdcfbc9e809623eee64e9df28fd8cfc754d1f6a6a (diff)
downloadcwm-96262a6b0cc6dbf5d82fcac45b81cbc376c2a0ef.tar.gz
cwm-96262a6b0cc6dbf5d82fcac45b81cbc376c2a0ef.tar.xz
cwm-96262a6b0cc6dbf5d82fcac45b81cbc376c2a0ef.zip
Split out sticky mode checks and the restoring of a client's group and
_NET_WM_DESKTOP from the config-based auto-grouping; no (intentional)
behavior changes.  Needed for further work in cleaning up this area.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index f1b110b..08631ad 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -426,7 +426,8 @@ void			 client_warp(struct client_ctx *);
 void			 client_wm_hints(struct client_ctx *);
 
 void			 group_alltoggle(struct screen_ctx *);
-void			 group_autogroup(struct client_ctx *);
+void			 group_assign(struct group_ctx *, struct client_ctx *);
+int			 group_autogroup(struct client_ctx *);
 void			 group_cycle(struct screen_ctx *, int);
 void			 group_hide(struct group_ctx *);
 void			 group_hidetoggle(struct screen_ctx *, int);
@@ -435,6 +436,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);
+int			 group_restore(struct client_ctx *);
 void			 group_show(struct group_ctx *);
 void			 group_toggle_membership_enter(struct client_ctx *);
 void			 group_toggle_membership_leave(struct client_ctx *);