} else if (pointer_mode == 5) { check_user_input5(dt, dtr, tile_diffs);
static int check_user_input(double dt, double dtr, int tile_diffs, int *cnt) {	if (pointer_mode == 1) {		if ((got_user_input || ui_skip < 0) && *cnt % ui_skip != 0) {			/* every ui_skip-th drops thru to scan */			*cnt++;			X_LOCK;			XFlush(dpy);			X_UNLOCK;			return 1;	/* short circuit watch_loop */		} else {			return 0;		}	}	if (pointer_mode >= 2 && pointer_mode <= 4) {		if (got_keyboard_input) {			/*			 * for these modes, short circuit watch_loop on			 * *keyboard* input.			 */			if (*cnt % ui_skip != 0) {				*cnt++;				return 1;			}		}		/* otherwise continue below with pointer input method */	}	if (pointer_mode == 2) {		check_user_input2(dt);	} else if (pointer_mode == 3) {		check_user_input3(dt, dtr, tile_diffs);	} else if (pointer_mode == 4) {		check_user_input4(dt, dtr, tile_diffs);	}	return 0;}