mirror of
https://github.com/Thracky/GlosSI.git
synced 2024-11-03 09:40:18 +00:00
StamTarget: Tweak overlay opened/Closed messages
This commit is contained in:
parent
30795a1ae0
commit
76d5ea0fc7
@ -363,7 +363,7 @@ LRESULT WINAPI SteamTargetRenderer::HookCallback(int nCode, WPARAM wParam, LPARA
|
||||
{
|
||||
PMSG msg = reinterpret_cast<PMSG>(lParam);
|
||||
std::cout << "DEBUG: " << "message: " << msg->message << std::endl;
|
||||
if (msg->message == 0x14FA) //Posted when the overlay gets opened
|
||||
if (msg->message == 0x14FA || msg->message == 0x14FF) //Posted when the overlay gets opened
|
||||
{
|
||||
overlayOpen = true;
|
||||
std::cout << "Overlay Opened!\n";
|
||||
|
@ -94,6 +94,7 @@ private:
|
||||
static std::atomic<bool> overlayOpen;
|
||||
static HHOOK hook;
|
||||
|
||||
|
||||
HWND hwForeGroundWindow = nullptr;
|
||||
bool bNeedFocusSwitch = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user