-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLFW backend only AddMouseSourceEvent() on Win32 #8374
Comments
As far as I know GLFW doesn't provide that information, so it would need to be added to it somehow (for Linux, OSX, Emscripten etc.). Any form of workaround/PR would be welcome. We only have a Win32-specific piece of code using raw Win32 data to extract this information. |
I don't mind taking a look at it for emscripten-glfw... Could you explain how I would reproduce the problem to know when/if I fix it? |
It would be better if added to GLFW api.
From Changelog:
And see this comment: As e.g. TabItem() uses |
Version/Branch of Dear ImGui:
Version 1.91.8, Branch: master (master/docking/etc.)
Back-ends:
imgui_impl_glfw.cpp
Compiler, OS:
Emscripten
Details:
This is a follow up to the now closed issue #8373 (see this post)
The backend is not calling
AddMouseSourceEvent(ImGuiMouseSource_TouchScreen)
so the touch is identified as emitted by a Mouse. Because of how touch have a tendency to instantly teleport to new locations at the time of touch, we need this identification to handle AllowOverlap behaviors.The text was updated successfully, but these errors were encountered: