fixed remove_enter_events. was missing a call to XSync