SDA-4200 Restore fullscreened windows post screenshot

This commit is contained in:
sbenmoussati 2023-06-02 12:49:57 +02:00 committed by Salah Benmoussati
parent 1a85447b1e
commit 8fc03dc123

View File

@ -473,6 +473,7 @@ class ScreenSnippet {
id: 'main', id: 'main',
focused: mainWindow?.isFocused(), focused: mainWindow?.isFocused(),
minimized: mainWindow?.isMinimized(), minimized: mainWindow?.isMinimized(),
isFullScreen: mainWindow?.isFullScreen(),
}, },
]; ];
@ -485,6 +486,7 @@ class ScreenSnippet {
id: (window as ICustomBrowserWindow).winName, id: (window as ICustomBrowserWindow).winName,
focused: window.isFocused(), focused: window.isFocused(),
minimized: window?.isMinimized(), minimized: window?.isMinimized(),
isFullScreen: window?.isFullScreen(),
}); });
} }
}); });
@ -494,6 +496,7 @@ class ScreenSnippet {
id: currentWindowName, id: currentWindowName,
focused: currentWindowObj?.isFocused(), focused: currentWindowObj?.isFocused(),
minimized: currentWindowObj?.isMinimized(), minimized: currentWindowObj?.isMinimized(),
isFullScreen: currentWindowObj?.isFullScreen(),
}); });
windowsArr = mainArr.concat(windowsArr); windowsArr = mainArr.concat(windowsArr);
} else { } else {