Commit Diff


commit - 6fa0451487d8d7e3a13171f5de74a72efda2d725
commit + 4261c47df75d29e8f841a2ac1e074a0d6c5288e2
blob - a65022d57f4b3d64d7edd68e55405515ca0447f9
blob + 25d8e2e594afacd31bfa7bb9bfcd5e7059209321
--- mymenu.c
+++ mymenu.c
@@ -1047,9 +1047,9 @@ parse_int_with_pos(Display *d, const char *str, int de
 
 		get_mouse_coords(d, &x, &y);
 		if (!strcmp(str, "mx"))
-			return x;
+			return x - 1;
 		else
-			return y;
+			return y - 1;
 	}
 	return parse_int_with_percentage(str, default_value, max);
 }