summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Workspace.hpp')
-rw-r--r--src/helpers/Workspace.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index 2fa29d1c..d70702fd 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -23,7 +23,11 @@ class CWorkspace {
uint64_t m_iMonitorID = -1;
// Previous workspace ID is stored during a workspace change, allowing travel
// to the previous workspace.
- int m_iPrevWorkspaceID = -1;
+ struct SPrevWorkspaceData {
+ int iID = -1;
+ std::string name = "";
+ } m_sPrevWorkspace;
+
bool m_bHasFullscreenWindow = false;
eFullscreenMode m_efFullscreenMode = FULLSCREEN_FULL;