You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to disable any ImGui IO for a specific window. When I create an ImGui window with the ImGuiWindowFlags_NoInputs flag: ImGui::Begin("DisabledInput", nullptr, ImGuiWindowFlags_NoInputs); ...; ImGui::End();
The io.WantCaptureKeyboard and io.WantCaptureMouse still get triggered when there is input on that specific window.
Am I understanding the ImGuiWindowFlags_NoInputs flag wrong? Is there any other way to disable the inputs for a specific ImGui window? Best case for my purpose would be that inputs can be disabled in a way so no io.WantCaptureKeyboard and io.WantCaptureMouse get triggered for that window.
Thank you in advance.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
docking branch
Back-ends:
imgui_impl_sdl.cpp + imgui_impl_opengl3.cpp
Compiler, OS:
Windows 11
Full config/build information:
No response
Details:
Disable inputs for specific window
I want to disable any ImGui IO for a specific window. When I create an ImGui window with the
ImGuiWindowFlags_NoInputs
flag:ImGui::Begin("DisabledInput", nullptr, ImGuiWindowFlags_NoInputs); ...; ImGui::End();
The
io.WantCaptureKeyboard
andio.WantCaptureMouse
still get triggered when there is input on that specific window.Am I understanding the
ImGuiWindowFlags_NoInputs
flag wrong? Is there any other way to disable the inputs for a specific ImGui window? Best case for my purpose would be that inputs can be disabled in a way so noio.WantCaptureKeyboard
andio.WantCaptureMouse
get triggered for that window.Thank you in advance.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: