The US and French president exchanged a few squeezes when they met at the G7 summit in Canada.