-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
SDL backend does not work with SDL_VIDEODRIVER=wayland #2800
Comments
Hello, |
found the issue: using SDL_GetMouseState https://wiki.libsdl.org/SDL_GetMouseState works I'll send a PR |
Thanks! Will also aim to rework some of that logic (perhaps for #2696) so may change later. |
Merged #2802, thank you @NeroBurner ! |
Version/Branch of Dear ImGui:
Version: 1.73 WIP
Branch: example_add_glad_files (master + glad OpenGL 3.3 Core)
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_sdl.cpp + imgui_impl_opengl3.cpp (as well as opengl2, and vulkan)
OpenGL backends tested with gl3w and glad loaders
Compiler: g++ (GCC) 9.1.0 as well as clang version 8.0.1
Operating System: Arch Linux
My Issue:
when starting an example_sdl_XXX with the
SDL_VIDEODRIVER=wayland
environment variable on wayland the window loads fine, but the elements can't be interacted withScreenshots/Video
first run with
./example_sdl_vulkan
shows the xwayland symbol in the title-bar (top left corner). And it it fully functionablesecond run with
SDL_VIDEODRIVER=wayland ./example_sdl_vulkan
shows wayland symbol, but is not actionableStandalone, minimal, complete and verifiable example:
SDL_VIDEODRIVER=wayland
environment variableSDL_VIDEODRIVER=wayland ./example_sdl_opengl3
The text was updated successfully, but these errors were encountered: