Home | History | Annotate | Download | only in dist

Lines Matching defs:threshold

130 static void set_mouse(Display *dpy, int acc_num, int acc_denom, int threshold);
436 /* Set pointer (mouse) settings: Acceleration and Threshold. */
440 int threshold = SERVER_DEFAULT;
443 set_mouse(dpy, acc_num, acc_denom, threshold);
454 set_mouse(dpy, acc_num, acc_denom, threshold);
459 threshold = atoi(arg); /* Set threshold as user specified. */
463 set_mouse(dpy, acc_num, acc_denom, threshold);
1039 set_mouse(Display *dpy, int acc_num, int acc_denom, int threshold)
1045 if (threshold == DONT_CHANGE)
1051 if (threshold < 0)
1052 threshold = SERVER_DEFAULT;
1054 acc_denom, threshold);
1259 int acc_num, acc_denom, threshold;
1273 XGetPointerControl(dpy, &acc_num, &acc_denom, &threshold);
1392 printf(" acceleration: %d/%d threshold: %d\n",
1393 acc_num, acc_denom, threshold);
1630 " To set mouse acceleration and threshold:\n"