OpenGL can manipulate a frame buffer for a screen. The pixels in a window which are controlled by an opengl context belongs to this opengl. If this is overlaid by another window then OpenGL needs to know it doesn't own these pixels.