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