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
Changes to SDL keyboard code cause the build to fail. The relevant SDL commit is -
The text input state has been changed to be window-specific.
SDL_StartTextInput(), SDL_StopTextInput(), SDL_TextInputActive(), SDL_ClearComposition(), and SDL_SetTextInputRect() all now take a window parameter.
This change also fixes IME candidate positioning when SDL_SetTextInputRect() is called before SDL_StartTextInput(), as is recommended in the documentation.
Apologies if I've posted this in the wrong place.
I don't know the correct way to get the window pointer but below is my best attempt which seems to have got me up and running in Linux.
I followed your replacement code but used SDL_Window * p_window = (SDL_Window *)viewport->PlatformHandleRaw;, note the Raw addition to the code, and it compiled the SDL3 imgui example. I am running on Ubuntu 24.
Fixed with 7c24769. Note some logic changes required to handle change of windows.
It required adding viewport->PlatformHandle to master.
using PlatformHandleRaw is incorrect, it would be e.g. a HWND on Windows.
Version/Branch of Dear ImGui:
Version 1.90.9, Branch: docking
Back-ends:
imgui_impl_SDL3 + imgui_impl_opengl3
Compiler, OS:
Linux GCC 14.1.1
Full config/build information:
Details:
Changes to SDL keyboard code cause the build to fail. The relevant SDL commit is -
Apologies if I've posted this in the wrong place.
I don't know the correct way to get the window pointer but below is my best attempt which seems to have got me up and running in Linux.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: