diff options
| author | Brenno Lemos <brenno@syndel.is> | 2023-10-22 19:11:03 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 23:11:03 +0100 |
| commit | b135bd6cd4c27a9fd94dfa084e75188463c2eb3b (patch) | |
| tree | 74f04ca3dd010c41f0fd323187bfd916747da151 /src/helpers/Workspace.hpp | |
| parent | 59f27e7f570170783ac01fb46a0ff90e14de53e6 (diff) | |
workspacerules: Add new optional "default command" for auto-launching apps on new workspaces (#3559)
Diffstat (limited to 'src/helpers/Workspace.hpp')
| -rw-r--r-- | src/helpers/Workspace.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp index cbdbc07a..a0bbb815 100644 --- a/src/helpers/Workspace.hpp +++ b/src/helpers/Workspace.hpp @@ -4,8 +4,7 @@ #include <string> #include "../defines.hpp" -enum eFullscreenMode : int8_t -{ +enum eFullscreenMode : int8_t { FULLSCREEN_INVALID = -1, FULLSCREEN_FULL = 0, FULLSCREEN_MAXIMIZED @@ -53,6 +52,9 @@ class CWorkspace { // last monitor (used on reconnect) std::string m_szLastMonitor = ""; + // Whether the user configured command for on-created-empty has been executed, if any + bool m_bOnCreatedEmptyExecuted = false; + void startAnim(bool in, bool left, bool instant = false); void setActive(bool on); |
