aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authormartynas2009-02-07 21:07:00 +0000
committermartynas2009-02-07 21:07:00 +0000
commit3b8599db32069734f229e242530b781a6e65126b (patch)
tree827c64f35c199965229071755fb46c1831e65465 /kbfunc.c
parent51f627557bcda3ca4b450d60fea4a8d03b2da07d (diff)
downloadcwm-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 'kbfunc.c')
-rw-r--r--kbfunc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 1be5a80..48eea82 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.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;