check if window is full