give bnet lobby a name to make OBS auto scene switcher working with the game
This commit is contained in:
parent
6a38496bf7
commit
6e9307a422
1 changed files with 5 additions and 0 deletions
|
@ -720,6 +720,11 @@ HWND WINAPI fake_CreateWindowExA(
|
||||||
Y += pt.y;
|
Y += pt.y;
|
||||||
|
|
||||||
dwStyle |= WS_CLIPCHILDREN;
|
dwStyle |= WS_CLIPCHILDREN;
|
||||||
|
|
||||||
|
if (lpWindowName && !lpWindowName[0])
|
||||||
|
{
|
||||||
|
lpWindowName = "Bnet Lobby";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return real_CreateWindowExA(
|
return real_CreateWindowExA(
|
||||||
|
|
Loading…
Reference in a new issue