summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
authorCharles Taylor <taylorc822@gmail.com>2022-08-21 20:21:21 +1000
committerCharles Taylor <taylorc822@gmail.com>2022-08-21 20:21:21 +1000
commit04f0efadc33fd3ac9fb0ed176dbc00dde9906f8e (patch)
tree8b71885e32d5bfed3e20ad8e8e584e4f66121a3a /src/helpers/Workspace.hpp
parent9513031da30861b6ab593625aebe88b811758427 (diff)
add switching to previous workspace
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;