From 4372e951672dfbd5308d0794d0b4fe7f47d4c050 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 8 Jan 2013 15:16:04 +0000 Subject: add per-group vert/horiz tiling support; introduces 2 new bind commands, 'vtile' and 'htile'; from Alexander Polakov. --- calmwm.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 9440096..5cf13a9 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.185 2013/01/04 16:30:03 okan Exp $ + * $OpenBSD: calmwm.h,v 1.186 2013/01/08 15:16:04 okan Exp $ */ #ifndef _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 *); -- cgit v1.2.3-2-gb3c3