summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-02-23 15:38:48 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-02-23 15:38:48 +0100
commitcce86546822ebbd4d2f1fb4f9944c9f8f7d5532f (patch)
treee4610a72153f659e66b8eea20cb766249b60b568 /src
parent5ff86f1d353ae62906f050e735cd1b33938661fc (diff)
Simple columns
Diffstat (limited to 'src')
-rw-r--r--src/muniad.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/muniad.cc b/src/muniad.cc
index 9cb947c..0277099 100644
--- a/src/muniad.cc
+++ b/src/muniad.cc
@@ -397,7 +397,7 @@ static int callback_lws_mirror(struct libwebsocket_context * context,
printf("\t!!!Could not locate task with id %d\n", id);
}
- buf_len = sprintf(buf, "move %d %d %d;", id, x, y);
+ buf_len = sprintf(buf, "move %d %d %d;", id, x / 300 * 300, y);
printf("Moving task: %s\n", buf);
} else if(cmd == "update") {
printf("Update\n");