When enabling ImGui Viewports in the ImGui Config, there is an issue where, when you drag an ImGui window outside the main viewport, the entire game will refuse to take inputs, and partially freeze. This of course also goes for the ImGui windows.
Possible Causes
The game stops responding when this bug happens, which indicates that there is something wrong with the WndProc. When a window stops processing events, windows marks it as not responding.
Summary
When enabling ImGui Viewports in the ImGui Config, there is an issue where, when you drag an ImGui window outside the main viewport, the entire game will refuse to take inputs, and partially freeze. This of course also goes for the ImGui windows.
Possible Causes
The game stops responding when this bug happens, which indicates that there is something wrong with the WndProc. When a window stops processing events, windows marks it as not responding.
Relevant Files
Renderer.cs
D3DModule.cpp