aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2015-08-25 18:29:10 +0000
committerokan2015-08-25 18:29:10 +0000
commit3ca9c4569b8898dcc407ed0020fc50bc6e459b3a (patch)
tree7f891ebfd7983a56fc0134b09bf6be4d36918d27 /calmwm.h
parentf507af43cc37948b1f83ba74c8200059d4bba742 (diff)
downloadcwm-3ca9c4569b8898dcc407ed0020fc50bc6e459b3a.tar.gz
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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index 35bf72d..4f6b260 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.302 2015/08/24 15:42:57 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.303 2015/08/25 18:29:10 okan Exp $
*/
#ifndef _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 *);