diff options
author | oga | 2009-08-24 23:54:41 +0000 |
---|---|---|
committer | oga | 2009-08-24 23:54:41 +0000 |
commit | c93aabe260cae31e757caa99381b1e8a0e1efddc (patch) | |
tree | 7c002e0038cb2dd16713ffa0e6af4ae2a5d0d5aa /kbfunc.c | |
parent | 796a52c20656342eabaf923d6141d83883689d15 (diff) | |
download | cwm-c93aabe260cae31e757caa99381b1e8a0e1efddc.tar.gz |
Add a keybinding to allow horizontal maximisation of a window (CMS-enter).
based on a diff by Thomas Pfaff; thanks!
ok okan@
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 <paths.h> @@ -482,6 +482,12 @@ kbfunc_client_vmaximize(struct client_ctx *cc, union arg *arg) } 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) { _xev_quit = 1; |