The variable pointerleave_event is not used anywhere.