Basic mouse grabbing for X11.