summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-05-03 15:15:56 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-05-03 15:15:56 +0100
commitfd3e6a3bfde6d44a62df4834ccae5b24a1f36469 (patch)
tree04f840873d79c1695dd1f6a68c2c37a8fb49b039 /src/helpers/Workspace.hpp
parent0155b85950fd360011b84fcb3460248264191ee2 (diff)
workspaces: restore monitor on re-plug
Diffstat (limited to 'src/helpers/Workspace.hpp')
-rw-r--r--src/helpers/Workspace.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index 5ecbd483..b9de76d5 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -51,7 +51,10 @@ class CWorkspace {
bool m_bDefaultPseudo = false;
// don't destroy in sanity check
- bool m_bIndestructible = false;
+ bool m_bIndestructible = false;
+
+ // last monitor (used on reconnect)
+ std::string m_szLastMonitor = "";
void startAnim(bool in, bool left, bool instant = false);
void setActive(bool on);