aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-01-08 15:16:04 +0000
committerokan2013-01-08 15:16:04 +0000
commit4372e951672dfbd5308d0794d0b4fe7f47d4c050 (patch)
treea50ccca8771f738edfb57d05d35ebf2c1d52456a /calmwm.h
parentbd448cd97c1d6ac4577fa4831105f3d54fab673b (diff)
downloadcwm-4372e951672dfbd5308d0794d0b4fe7f47d4c050.tar.gz
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.h9
1 files changed, 8 insertions, 1 deletions
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 *);