mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
return true in isFullscreen() if window maximized
This commit is contained in:
parent
7bfde0a39b
commit
3151a7542f
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user