workspaces: restore monitor on re-plug

This commit is contained in:
vaxerski
2023-05-03 15:15:56 +01:00
parent 0155b85950
commit fd3e6a3bfd
2 changed files with 14 additions and 1 deletions

View File

@@ -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);