From 3151a7542f28e1ab5e93492a3eee6bf21efaa092 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Thu, 11 Jun 2020 16:25:17 +0200 Subject: [PATCH] return true in isFullscreen() if window maximized --- src/win/advanced-scene-switcher-win.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/win/advanced-scene-switcher-win.cpp b/src/win/advanced-scene-switcher-win.cpp index bf1e047e..1ea43573 100644 --- a/src/win/advanced-scene-switcher-win.cpp +++ b/src/win/advanced-scene-switcher-win.cpp @@ -124,6 +124,9 @@ bool isFullscreen(std::string &title) &monitorInfo); if (hwnd && hwnd != GetDesktopWindow() && hwnd != GetShellWindow()) { + if (IsZoomed(hwnd)) { + return true; + } GetWindowRect(hwnd, &appBounds); if (monitorInfo.rcMonitor.bottom == appBounds.bottom && monitorInfo.rcMonitor.top == appBounds.top &&