xenia icon indicating copy to clipboard operation
xenia copied to clipboard

Minimized window breaks Xenia

Open Sleepwalkerx opened this issue 4 years ago • 2 comments

I've already tested it on 3 games and it's the same everywhere. When I minimize the Xenia window, the application just breaks and closes.

Sleepwalkerx avatar Sep 12 '21 13:09 Sleepwalkerx

I've just checked, yes, that's the case as zero width and height are passed to ResizeBuffers of the DXGI swap chain, while the client area of the window is also zero-size. This will be fixed in the upcoming presenter update though — the swap chain will be destroyed completely when the window has a zero width or height.

Triang3l avatar Sep 12 '21 13:09 Triang3l

It was possible that previously, when swap chains were attached to a HWND, some valid size was still used in this case, however, when we switched to DirectComposition, it has become completely impossible not to specify the proper size explicitly.

Triang3l avatar Sep 12 '21 14:09 Triang3l