From c93aabe260cae31e757caa99381b1e8a0e1efddc Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 24 Aug 2009 23:54:41 +0000 Subject: Add a keybinding to allow horizontal maximisation of a window (CMS-enter). based on a diff by Thomas Pfaff; thanks! ok okan@ --- kbfunc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index 505828e..a276406 100644 --- a/kbfunc.c +++ b/kbfunc.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. * - * $Id: kbfunc.c,v 1.40 2009/06/20 00:55:42 okan Exp $ + * $Id: kbfunc.c,v 1.41 2009/08/24 23:54:41 oga Exp $ */ #include @@ -481,6 +481,12 @@ kbfunc_client_vmaximize(struct client_ctx *cc, union arg *arg) client_vertmaximize(cc); } +void +kbfunc_client_hmaximize(struct client_ctx *cc, union arg *arg) +{ + client_horizmaximize(cc); +} + void kbfunc_quit_wm(struct client_ctx *cc, union arg *arg) { -- cgit v1.2.3-2-gb3c3