From 3d8a9041e89b7d2039682982c0d56a6f3977915d Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 8 Nov 2024 22:55:50 +0100 Subject: [PATCH] frog --- src/wsi/win32/wsi_window_win32.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/wsi/win32/wsi_window_win32.cpp b/src/wsi/win32/wsi_window_win32.cpp index faf963d3..a8fefa22 100644 --- a/src/wsi/win32/wsi_window_win32.cpp +++ b/src/wsi/win32/wsi_window_win32.cpp @@ -262,12 +262,13 @@ namespace dxvk::wsi { bool Win32WsiDriver::isOccluded(HWND hWindow) { - if (::GetForegroundWindow() == hWindow) - { - m_lastForegroundTimestamp = GetTickCount64(); - return false; - } - return m_lastForegroundTimestamp && GetTickCount64() - m_lastForegroundTimestamp > 100; + return false; + // if (::GetForegroundWindow() == hWindow) + // { + // m_lastForegroundTimestamp = GetTickCount64(); + // return false; + // } + // return m_lastForegroundTimestamp && GetTickCount64() - m_lastForegroundTimestamp > 100; }