mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Nav: Fixed InitRequest leaking when changing window (repro was to navigate inside File->Options->[Child] then press Left and notice how we would land on parent window on the fist item after the current one). (#787)
This commit is contained in:
		@@ -6238,6 +6238,8 @@ void ImGui::FocusWindow(ImGuiWindow* window)
 | 
			
		||||
            g.NavMousePosDirty = true;
 | 
			
		||||
        if (window && window->NavLastChildNavWindow != NULL)
 | 
			
		||||
            window->NavLastChildNavWindow = NULL;
 | 
			
		||||
        if (g.NavInitRequest)
 | 
			
		||||
            g.NavInitRequest = false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Passing NULL allow to disable keyboard focus
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user