popn: new cab windowed mode (#621)

## Link to GitHub Issue or related Pull Request, if one exists
#618 

## Description of change
Get windowed mode to work.

## Testing
tbd... i/o doesn't work right now but it launches two windows at
least...
This commit is contained in:
bicarus
2026-04-10 01:05:44 -07:00
committed by GitHub
parent a159691097
commit 54ec9f272e
7 changed files with 32 additions and 9 deletions
+2 -1
View File
@@ -265,7 +265,8 @@ static void ImGui_ImplSpice_UpdateMousePos() {
// trigger any overlay, don't process anything else
const auto is_windowed_subscreen =
(GRAPHICS_IIDX_WSUB && active_window == TDJ_SUBSCREEN_WINDOW) ||
(active_window == SDVX_SUBSCREEN_WINDOW);
(active_window == SDVX_SUBSCREEN_WINDOW) ||
(active_window == POPN_SUBSCREEN_WINDOW);
if (is_windowed_subscreen) {
io.MousePos = ImVec2(-FLT_MAX, -FLT_MAX);
return;