about summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authormartynas <martynas>2009-02-07 21:07:00 +0000
committermartynas <martynas>2009-02-07 21:07:00 +0000
commit17ae65adc59532b77d845c823b9902f7feff1f23 (patch)
tree2b7024ed1a372ee17d422ecb477b78653cdde660 /kbfunc.c
parent507b65a27fedf439cdba086c4f918d3efaeae8dd (diff)
downloadcwm-17ae65adc59532b77d845c823b9902f7feff1f23.tar.gz
cwm-17ae65adc59532b77d845c823b9902f7feff1f23.tar.xz
cwm-17ae65adc59532b77d845c823b9902f7feff1f23.zip
add 'moveamount' to cwmrc; it sets keyboard movement amount, making
it more useful on large screens
manpage tweak & ok jmc@
ok okan@, oga@
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kbfunc.c b/kbfunc.c
index b063f2e..74d5e00 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -25,7 +25,6 @@
 
 #define KNOWN_HOSTS	".ssh/known_hosts"
 #define HASH_MARKER	"|1|"
-#define MOVE_AMOUNT	1
 
 extern int		_xev_quit;
 
@@ -54,7 +53,7 @@ kbfunc_moveresize(struct client_ctx *cc, union arg *arg)
 	mx = my = 0;
 
 	flags = arg->i;
-	amt = MOVE_AMOUNT;
+	amt = Conf.mamount;
 
 	if (flags & CWM_BIGMOVE) {
 		flags -= CWM_BIGMOVE;