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.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index 5a3a24ba..9243c9cc 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -18,6 +18,9 @@ public:
int m_iID = -1;
std::string m_szName = "";
uint64_t m_iMonitorID = -1;
+ // Previous workspace ID is stored during a workspace change, allowing travel
+ // to the previous workspace.
+ int m_iPrevWorkspaceID = -1;
bool m_bHasFullscreenWindow = false;
eFullscreenMode m_efFullscreenMode = FULLSCREEN_FULL;