| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -34,16 +34,12 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include <string.h> | 
					 | 
					 | 
					 | 
					#include <string.h> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////                       GLFW platform API                      //////
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//========================================================================
 | 
					 | 
					 | 
					 | 
					//========================================================================
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// Create a monitor struct from the specified information
 | 
					 | 
					 | 
					 | 
					// Create a monitor struct from the specified information
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//========================================================================
 | 
					 | 
					 | 
					 | 
					//========================================================================
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#if defined (_GLFW_HAS_XRANDR) | 
					 | 
					 | 
					 | 
					#if defined (_GLFW_HAS_XRANDR) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					_GLFWmonitor** _glfwCreateMonitor(_GLFWmonitor** current, | 
					 | 
					 | 
					 | 
					static _GLFWmonitor** createMonitor(_GLFWmonitor** current, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                    XRROutputInfo* outputInfo, | 
					 | 
					 | 
					 | 
					                                    XRROutputInfo* outputInfo, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                    XRRCrtcInfo* crtcInfo) | 
					 | 
					 | 
					 | 
					                                    XRRCrtcInfo* crtcInfo) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -64,6 +60,10 @@ _GLFWmonitor** _glfwCreateMonitor(_GLFWmonitor** current, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#endif /*_GLFW_HAS_XRANDR*/ | 
					 | 
					 | 
					 | 
					#endif /*_GLFW_HAS_XRANDR*/ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//////                       GLFW platform API                      //////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					//////////////////////////////////////////////////////////////////////////
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//========================================================================
 | 
					 | 
					 | 
					 | 
					//========================================================================
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// Destroy a monitor struct
 | 
					 | 
					 | 
					 | 
					// Destroy a monitor struct
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//========================================================================
 | 
					 | 
					 | 
					 | 
					//========================================================================
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -130,7 +130,7 @@ _GLFWmonitor* _glfwCreateMonitors(void) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    } | 
					 | 
					 | 
					 | 
					                    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                monitor = _glfwCreateMonitor(monitor, outputInfo, crtcInfo); | 
					 | 
					 | 
					 | 
					                monitor = createMonitor(monitor, outputInfo, crtcInfo); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                // Freeing of the outputInfo is done in _glfwDestroyMonitor
 | 
					 | 
					 | 
					 | 
					                // Freeing of the outputInfo is done in _glfwDestroyMonitor
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                XRRFreeCrtcInfo(crtcInfo); | 
					 | 
					 | 
					 | 
					                XRRFreeCrtcInfo(crtcInfo); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |