GetSystemMetrics equivalent in GLX

Hi. In C/C++ programming, how would I go about knowing what the size of the Linux Red Hat 7.x, 8.0, 9.0 screen is set at (including possible dual screen setup)? Is there a glX function that is equivalent to the Windows GetSystemMetrics with SM_CXSCREEN (virtual also)?


try the linux opengl forum