doc/win_player: set WS_CLIPCHILDREN on our window

So the display module doesn't have to do it in its own thread.
This commit is contained in:
Steve Lhomme 2024-02-05 08:47:10 +01:00
parent a731f7e00b
commit 70535e5402

View File

@ -137,7 +137,7 @@ int WINAPI WinMain(HINSTANCE hInstance,
hWnd = CreateWindowEx(0,
"WindowClass",
"libvlc Demo app",
WS_OVERLAPPEDWINDOW,
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT,
wr.right - wr.left,
wr.bottom - wr.top,