Everyday Things You Never Knew Even Had A Purpose
That little hole is there for two reasons: The first reason is to compensate for air pressure. When the plane climbs to cruising altitude, there's a huge pressure difference between the inside and outside of the plane. The hole is there to regulate some of that difference so that the outer window doesn't have to do all the work. The other reason is that it prevents the windows from fogging up.