Right, but at least as far as I know, currently a window manager trying to do compositing in Linux has to fight with X11 to achieve that, because it was not really designed to support that use case. Which is why Wayland is getting traction I guess.
OpenGL originated from the X world, for better or for worse, so I doubt there's much fighting going on. Any modern OpenGL is pretty separate from it however.