diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2024-10-01 14:54:37 +1300 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2024-10-01 14:54:37 +1300 |
| commit | 915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5 (patch) | |
| tree | 0d7a7569ab5fc30c90d5df91a54d312c764cf328 /structs.h | |
| parent | f998705c5a0e50021875a811537962083b73ed26 (diff) | |
| download | YATwm-915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5.tar.gz YATwm-915532bf8fbda9ba2a36e04fcd6acc67c6c68fa5.zip | |
Restructure
Diffstat (limited to 'structs.h')
| -rw-r--r-- | structs.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/structs.h b/structs.h deleted file mode 100644 index 8215bf5..0000000 --- a/structs.h +++ /dev/null @@ -1,48 +0,0 @@ -#pragma once - -#include <X11/Xlib.h> - -#include <X11/extensions/Xrandr.h> -#include <string> -#include <vector> - -#define noID -1 - -struct Client -{ - int ID; - Window w; - bool floating; - bool fullscreen; -}; - -enum TileDir -{ - horizontal, - vertical, - noDir -}; - -struct Frame -{ - int ID; - int pID; - - bool isClient; - - //If its a client (window) - int cID; - - //If it isn't a client - TileDir dir; - std::vector<int> subFrameIDs; - bool isRoot; - std::vector<int> floatingFrameIDs; - //int whichChildFocused = 0; -}; - -struct ScreenInfo -{ - std::string name; - int x, y, w, h; -}; |
