Back-ends: imgui_impl_sdl.cpp + imgui_implopengl3.cpp (or specify if using a custom engine/back-end)
Compiler: XXX (if the question is related to building or platform specific features)_
Operating System: Windows
My Issue/Question:
Is it possible to don't pass focus to another window on click?
I have a file browser with a toolbar, but I don't want to transfer focus to the toolbar by clicking on it, or on any of its children. Files should have "main" focus to make navigation by keyboard work, and if i press on toolbar buttons or empty space on toolbar, i don't want to lose focus from file panel, is it possible somehow to do it?
Version/Branch of Dear ImGui:
Version: 1.88 Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_sdl.cpp + imgui_implopengl3.cpp (or specify if using a custom engine/back-end) Compiler: XXX (if the question is related to building or platform specific features)_ Operating System: Windows
My Issue/Question:
Is it possible to don't pass focus to another window on click? I have a file browser with a toolbar, but I don't want to transfer focus to the toolbar by clicking on it, or on any of its children. Files should have "main" focus to make navigation by keyboard work, and if i press on toolbar buttons or empty space on toolbar, i don't want to lose focus from file panel, is it possible somehow to do it?
Standalone, minimal, complete and verifiable example: (see https://github.com/ocornut/imgui/issues/2261)