|
@@ -449,10 +449,10 @@ void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp)
|
|
////// GLFW native API //////
|
|
////// GLFW native API //////
|
|
//////////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
-GLFWAPI RRCrtc glfwGetX11Monitor(GLFWmonitor* handle)
|
|
|
|
|
|
+GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor* handle)
|
|
{
|
|
{
|
|
_GLFWmonitor* monitor = (_GLFWmonitor*) handle;
|
|
_GLFWmonitor* monitor = (_GLFWmonitor*) handle;
|
|
_GLFW_REQUIRE_INIT_OR_RETURN(None);
|
|
_GLFW_REQUIRE_INIT_OR_RETURN(None);
|
|
- return monitor->x11.crtc;
|
|
|
|
|
|
+ return monitor->x11.output;
|
|
}
|
|
}
|
|
|
|
|