aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authoroga2009-08-24 23:54:41 +0000
committeroga2009-08-24 23:54:41 +0000
commitc93aabe260cae31e757caa99381b1e8a0e1efddc (patch)
tree7c002e0038cb2dd16713ffa0e6af4ae2a5d0d5aa /kbfunc.c
parent796a52c20656342eabaf923d6141d83883689d15 (diff)
downloadcwm-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.c8
1 files changed, 7 insertions, 1 deletions
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 <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;