Examples: SDL: Using SDL_WINDOW_INPUT_FOCUS instead of SDL_WINDOW_MOUSE_FOCUS (which is ~~hovered). We should use SDL_CaptureMouse + SDL_WINDOW_MOUSE_CAPTURE_FLAG which requires SDL 2.0.4 will give it a try shortly. (#1559)
1 parent 74dc70c commit ce17e0f27496ad09dcfc2ca8f605ed2494ed909d
@omar omar authored on 19 Jan 2018
Showing 2 changed files
View
examples/sdl_opengl2_example/imgui_impl_sdl.cpp
View
examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp