local use of xidx is useless, got rid of it, falling back to screen 0 if pointer...