Christoph Neuhauser
Christoph Neuhauser
Thanks for the hint. The debug log always shows "Processed: MousePos (new_x, new_y) (Mouse)", followed immediately by "Processed: MousePos (old_x, old_y) (Mouse)" whenever the mouse is moved. "new" is the...
It seems like the problem is `SDL_GetGlobalMouseState`, which always returns the old value when using x11vnc. Would you mind shortly explaining why this code in case of "MouseCanUseGlobalState" in "ImGui_ImplSDL2_UpdateMouseData"...
> What do you mean by "old value" ? With that I mean: `SDL_GetGlobalMouseState`, when using x11vnc for accessing the desktop, returns the position where the last mouse click occurred....
I have now created the issue report in the upstream repo: https://github.com/libsdl-org/SDL/issues/8827
The SDL issue report has been added to the version 2.30.0 milestones. If you do not want to put additional time into circumventing this bug (which I would understand, as...
@dougbinks Thanks for your reply. A few more questions in that case: - There seem to be no precompiled binaries for Linux distributed in the releases of GLFW. At least...
One example case of this being problematic: Ubuntu 24.04 seems to ship binaries without Wayland support. At least I get the following error message: ``` Main.cpp:(.text+0xad): undefined reference to `glfwGetWaylandDisplay'...
In case this proves to be useful for others as well -- here's my code for checking the supported backends on Linux using CMake's try_compile: https://github.com/chrismile/sgl/blob/master/CMake/TestGlfw.cmake
@dougbinks I don't think installing a generated header would be not backwards compatible. On the one hand, the generated header could be included through glfw3.h. In this case the application...
> That's probably something the formula should do by default (or not link against the system libc++ alternatively). I agree. It's good to have a workaround, but of course the...