summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2013-01-08 15:16:04 +0000
committerokan <okan>2013-01-08 15:16:04 +0000
commit3a7596968b740328c41f6807800d004c75e3c62f (patch)
tree19c3c033c0c99a2464a9dbd2d38332acc3829ddc /calmwm.h
parentbf9d9815976c0afae2e87afeebaa57b02b1d911c (diff)
downloadcwm-3a7596968b740328c41f6807800d004c75e3c62f.tar.gz
cwm-3a7596968b740328c41f6807800d004c75e3c62f.tar.xz
cwm-3a7596968b740328c41f6807800d004c75e3c62f.zip
add per-group vert/horiz tiling support; introduces 2 new bind commands,
'vtile' and 'htile'; from Alexander Polakov.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 47f60e7..c02db59 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -76,6 +76,10 @@
 
 #define ARG_CHAR		0x0001
 #define ARG_INT			0x0002
+
+#define CWM_TILE_HORIZ 		0x0001
+#define CWM_TILE_VERT 		0x0002
+
 union arg {
 	char	*c;
 	int	 i;
@@ -321,6 +325,7 @@ void			 client_freeze(struct client_ctx *);
 void			 client_getsizehints(struct client_ctx *);
 void			 client_hide(struct client_ctx *);
 void			 client_hmaximize(struct client_ctx *);
+void 			 client_htile(struct client_ctx *);
 void			 client_leave(struct client_ctx *);
 void			 client_lower(struct client_ctx *);
 void			 client_map(struct client_ctx *);
@@ -338,6 +343,7 @@ int			 client_snapcalc(int, int, int, int, int);
 void			 client_transient(struct client_ctx *);
 void			 client_unhide(struct client_ctx *);
 void			 client_vmaximize(struct client_ctx *);
+void 			 client_vtile(struct client_ctx *);
 void			 client_warp(struct client_ctx *);
 
 void			 group_alltoggle(struct screen_ctx *);
@@ -408,6 +414,7 @@ void			 kbfunc_quit_wm(struct client_ctx *, union arg *);
 void			 kbfunc_restart(struct client_ctx *, union arg *);
 void			 kbfunc_ssh(struct client_ctx *, union arg *);
 void			 kbfunc_term(struct client_ctx *, union arg *);
+void 			 kbfunc_tile(struct client_ctx *, union arg *);
 
 void			 mousefunc_menu_cmd(struct client_ctx *, void *);
 void			 mousefunc_menu_group(struct client_ctx *, void *);