use x11 mouse event