text-input: fix double-draw when acquiring focus
x11-xcb: use clock_gettime() instead of gettimeofday()