X11 fixed event bug