summaryrefslogtreecommitdiff
path: root/app/cwm/conf.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-01-08 15:16:06 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-01-08 15:16:06 +0000
commit2c1fea411b0d94d18f7bdff1f7529ae922f06050 (patch)
treea3d1665118d2dfdeb646b3bdbcbbe4d83e835082 /app/cwm/conf.c
parent56d275c60815ab6091abd64e4efb2f3c785b2e6b (diff)
add per-group vert/horiz tiling support; introduces 2 new bind commands,
'vtile' and 'htile'; from Alexander Polakov.
Diffstat (limited to 'app/cwm/conf.c')
-rw-r--r--app/cwm/conf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c
index 8c45f39c1..24d762339 100644
--- a/app/cwm/conf.c
+++ b/app/cwm/conf.c
@@ -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: conf.c,v 1.120 2013/01/04 16:27:58 okan Exp $
+ * $OpenBSD: conf.c,v 1.121 2013/01/08 15:16:05 okan Exp $
*/
#include <sys/param.h>
@@ -375,6 +375,10 @@ static struct {
{.i = (CWM_LEFT|CWM_PTRMOVE|CWM_BIGMOVE)} },
{ "bigptrmoveright", kbfunc_moveresize, 0,
{.i = (CWM_RIGHT|CWM_PTRMOVE|CWM_BIGMOVE)} },
+ { "htile", kbfunc_tile, KBFLAG_NEEDCLIENT,
+ {.i = CWM_TILE_HORIZ } },
+ { "vtile", kbfunc_tile, KBFLAG_NEEDCLIENT,
+ {.i = CWM_TILE_VERT } },
};
/*