diff options
Diffstat (limited to 'structs.h')
| -rw-r--r-- | structs.h | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -23,6 +23,13 @@ enum TileDir noDir }; +struct RootData +{ + std::vector<int> floatingFrameIDs; + //int workspaceNumber; + //int whichChildFocused = 0; +}; + 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 |
