GLFW Mouse Passthrough Broken in Docking Branch
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 76.3k
- Forks
- 12k
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
Version/Branch of Dear ImGui:
Version: git commit 31d033c9d8d64fb9047cdcd731890f1fb5f85db2
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Operating System: Windows
My Issue/Question:
GLFW mouse passthrough does not appear work when lines 73-77 of imgui_impl_glfw.cpp exist. I would submit this in a PR, but I'm hesitant as comments on those lines seem to suggest its for some support reasons, so by removing them I might be messing something else up.
Standalone, minimal, complete and verifiable example:
glfwSetWindowAttrib(Window, GLFW_MOUSE_PASSTHROUGH, GLFW_TRUE);
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting lines 73-77 of imgui_impl_glfw.cpp on the docking branch and reproduce the issue on Windows with glfwSetWindowAttrib(Window, GLFW_MOUSE_PASSTHROUGH, GLFW_TRUE). Review the support rationale in the nearby comments and verify the behavior with imgui_impl_opengl3.cpp. Done means GLFW mouse passthrough works without breaking the support described there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100