Implements click behaviour in 'mintty'.