The prefix "com-" means "with" or "together". In "complacent", it indicates a state of being "satisfied with oneself".