MCPcopy Create free account
hub / github.com/RIPmr/MoonEngine / FindHoveredViewportFromPlatformWindowStack

Function FindHoveredViewportFromPlatformWindowStack

ToyBox/imgui/imgui.cpp:10818–10830  ·  view source on GitHub ↗

If the back-end doesn't set MouseLastHoveredViewport or doesn't honor ImGuiViewportFlags_NoInputs, we do a search ourselves. A) It won't take account of the possibility that non-imgui windows may be in-between our dragged window and our target window. B) It requires Platform_GetWindowFocus to be implemented by back-end.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

GetMainRectMethod · 0.80

Tested by

no test coverage detected