Lines Matching defs:dz
231 int dz;
448 tp->scroll.dz = 0;
460 if (tp->scroll.dz || tp->scroll.dw || wstpad_is_stable(input, tp->t)) {
472 int dz, dw, n = 1;
493 dz = -dy * 4096 / (tp->scroll.vdist * n);
494 if (tp->scroll.dz) {
495 if ((dy < 0) != (tp->scroll.dz > 0))
496 tp->scroll.dz = -tp->scroll.dz;
497 dz = (dz + 3 * tp->scroll.dz) / 4;
499 if (dz) {
500 tp->scroll.dz = dz;
505 if (tp->scroll.dz) {
506 tp->scroll.dz = 0;
557 !(tp->scroll.dz || tp->scroll.dw))
977 if (input->motion.dz == 0 && input->motion.dw == 0)
1017 input->motion.dz = tp->scroll.dz;
1163 && !(tp->scroll.dz || tp->scroll.dw)
1460 input->motion.dz = input->motion.dw = 0;