diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-12-20 23:52:18 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-12-20 23:52:18 +0100 |
| commit | 4eb42fab7bb1b1d6c8fec4682c8c1de6dca7049b (patch) | |
| tree | c752f5eb8231e4e87931f117f771dfd0047ae290 /src/Window.hpp | |
| parent | 48ecb13b14d99241725a65582edf42cd51843e94 (diff) | |
windowrules: add onworkspace
cool
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Window.hpp b/src/Window.hpp index cff26052..8d5f22e5 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -151,12 +151,13 @@ struct SWindowRule { bool v2 = false; std::string szTitle; std::string szClass; - int bX11 = -1; // -1 means "ANY" - int bFloating = -1; - int bFullscreen = -1; - int bPinned = -1; - int bFocus = -1; - std::string szWorkspace = ""; // empty means any + int bX11 = -1; // -1 means "ANY" + int bFloating = -1; + int bFullscreen = -1; + int bPinned = -1; + int bFocus = -1; + int iOnWorkspace = -1; + std::string szWorkspace = ""; // empty means any }; class CWindow { |
