diff options
author | martynas | 2009-02-07 21:07:00 +0000 |
---|---|---|
committer | martynas | 2009-02-07 21:07:00 +0000 |
commit | 3b8599db32069734f229e242530b781a6e65126b (patch) | |
tree | 827c64f35c199965229071755fb46c1831e65465 /kbfunc.c | |
parent | 51f627557bcda3ca4b450d60fea4a8d03b2da07d (diff) | |
download | cwm-3b8599db32069734f229e242530b781a6e65126b.tar.gz |
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 '')
-rw-r--r-- | kbfunc.c | 5 |
1 files changed, 2 insertions, 3 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.35 2009/02/03 22:20:31 martynas Exp $ + * $Id: kbfunc.c,v 1.36 2009/02/07 21:07:00 martynas Exp $ */ #include <paths.h> @@ -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; |