diff options
Diffstat (limited to 'src/structs.h')
| -rw-r--r-- | src/structs.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/structs.h b/src/structs.h index 8215bf5..5273f52 100644 --- a/src/structs.h +++ b/src/structs.h @@ -23,6 +23,13 @@ enum TileDir noDir }; +struct RootData +{ + std::vector<int> floatingFrameIDs; + Window focus; + //int workspaceNumber; +}; + struct Frame { int ID; @@ -30,15 +37,15 @@ struct Frame bool isClient; - //If its a client (window) + // If its a client (window) int cID; - //If it isn't a client + // If it isn't a client TileDir dir; std::vector<int> subFrameIDs; - bool isRoot; - std::vector<int> floatingFrameIDs; - //int whichChildFocused = 0; + + // Null if not root + RootData* rootData; }; struct ScreenInfo |
