mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 21:51:17 +00:00
Enable transparent resizing and display changes for supported renderers
This commit is contained in:
@@ -492,3 +492,9 @@ bool SdlRenderer::testRenderFrame(AVFrame* frame)
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SdlRenderer::notifyWindowChanged(PWINDOW_STATE_CHANGE_INFO info)
|
||||
{
|
||||
// We can transparently handle size and display changes
|
||||
return !(info->stateChangeFlags & ~(WINDOW_STATE_CHANGE_SIZE | WINDOW_STATE_CHANGE_DISPLAY));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user