Gamma reset

Hi,

We have an application which modifies the gamma lookup tables. I’ve noticed that under Linux, if you move over an OpenGL app it resets the gamma back to the “default”.
I am wondering if this is the default behaviour of an OpenGL app? Could it be disabled by any chance?

Sorry for my ignorance but I haven’t much experience with opengl!

All help is appreciated.

Jeremy