windowrules: add onworkspace

cool
This commit is contained in:
vaxerski
2023-12-20 23:52:18 +01:00
parent 48ecb13b14
commit 4eb42fab7b
5 changed files with 57 additions and 15 deletions

View File

@@ -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 {