@ -50,6 +50,10 @@ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					# define Button6            6  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					# define Button7            7  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					// Motif WM hints flags
  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					# define MWM_HINTS_DECORATIONS   2  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					# define MWM_DECOR_ALL           1  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					# define _GLFW_XDND_VERSION 5  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -2536,33 +2540,24 @@ void _glfwPlatformSetWindowResizable(_GLFWwindow* window, GLFWbool enabled) 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					void  _glfwPlatformSetWindowDecorated ( _GLFWwindow *  window ,  GLFWbool  enabled )  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					{  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    if  ( enabled )   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    {   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        XDeleteProperty ( _glfw . x11 . display ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        window - > x11 . handle ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        _glfw . x11 . MOTIF_WM_HINTS ) ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    }   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    else   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    struct   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    {   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        struct   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        {   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            unsigned  long  flags ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            unsigned  long  functions ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            unsigned  long  decorations ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            long  input_mode ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            unsigned  long  status ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        }  hints ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        unsigned  long  flags ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        unsigned  long  functions ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        unsigned  long  decorations ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        long  input_mode ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        unsigned  long  status ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    }  hints  =  { 0 } ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					         hints . flags  =  2 ;        // Set decorations
   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					         hints . decorations  =  0 ;  // No decorations
   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    hints . flags  =  MWM_HINTS_DECORATIONS ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    hints . decorations  =  enabled  ?  MWM_DECOR_ALL  :  0 ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        XChangeProperty ( _glfw . x11 . display ,  window - > x11 . handle ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        _glfw . x11 . MOTIF_WM_HINTS ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        _glfw . x11 . MOTIF_WM_HINTS ,  32 ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        PropModeReplace ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        ( unsigned  char * )  & hints ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                        sizeof ( hints )  /  sizeof ( long ) ) ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    }   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    XChangeProperty ( _glfw . x11 . display ,  window - > x11 . handle ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    _glfw . x11 . MOTIF_WM_HINTS ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    _glfw . x11 . MOTIF_WM_HINTS ,  32 ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    PropModeReplace ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    ( unsigned  char * )  & hints ,   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    sizeof ( hints )  /  sizeof ( long ) ) ;   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					}  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					void  _glfwPlatformSetWindowFloating ( _GLFWwindow *  window ,  GLFWbool  enabled )