@ -5521,13 +5521,13 @@ bool ImGui::IsWindowFocused(ImGuiFocusedFlags flags) 
			
		
	
		
		
			
				
					
					    ImGuiContext &  g  =  * GImGui ;      ImGuiContext &  g  =  * GImGui ;   
			
		
	
		
		
			
				
					
					    IM_ASSERT ( g . CurrentWindow ) ;      // Not inside a Begin()/End()
      IM_ASSERT ( g . CurrentWindow ) ;      // Not inside a Begin()/End()
   
			
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
					    switch  ( flags  &  ( ImGuiFocusedFlags_RootWindow  |  ImGuiHover edFlags_ChildWindows ) )      switch  ( flags  &  ( ImGuiFocusedFlags_RootWindow  |  ImGuiFocus edFlags_ChildWindows ) )   
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					    {      {   
			
		
	
		
		
			
				
					
					    case  ImGuiFocusedFlags_RootWindow  |  ImGuiHover edFlags_ChildWindows :      case  ImGuiFocusedFlags_RootWindow  |  ImGuiFocus edFlags_ChildWindows :   
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					        return  g . NavWindow  & &  g . CurrentWindow - > RootWindow  = =  g . NavWindow - > RootWindow ;          return  g . NavWindow  & &  g . CurrentWindow - > RootWindow  = =  g . NavWindow - > RootWindow ;   
			
		
	
		
		
			
				
					
					    case  ImGuiFocusedFlags_RootWindow :      case  ImGuiFocusedFlags_RootWindow :   
			
		
	
		
		
			
				
					
					        return  g . CurrentWindow - > RootWindow  = =  g . NavWindow ;          return  g . CurrentWindow - > RootWindow  = =  g . NavWindow ;   
			
		
	
		
		
			
				
					
					    case  ImGuiHover edFlags_ChildWindows :      case  ImGuiFocus edFlags_ChildWindows :   
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					        return  g . NavWindow  & &  IsWindowChildOf ( g . NavWindow ,  g . CurrentWindow ) ;          return  g . NavWindow  & &  IsWindowChildOf ( g . NavWindow ,  g . CurrentWindow ) ;   
			
		
	
		
		
			
				
					
					    default :      default :   
			
		
	
		
		
			
				
					
					        return  g . CurrentWindow  = =  g . NavWindow ;          return  g . CurrentWindow  = =  g . NavWindow ;