summaryrefslogtreecommitdiff
path: root/structs.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2024-12-01 19:24:09 +1300
committerBossCode45 <human.cyborg42@gmail.com>2024-12-01 19:24:09 +1300
commit8dca89a1be23f0de2dd1676b95feb6b46cbdd5f2 (patch)
tree7ebc1a5161bbe70d6ab6a0e5353a1a622240c915 /structs.h
parente162dff48c251e262f475de9261f0ecfa0f39dc4 (diff)
parent434ec6542d0d79190c6aa7003aac91b03cad4398 (diff)
downloadYATwm-8dca89a1be23f0de2dd1676b95feb6b46cbdd5f2.tar.gz
YATwm-8dca89a1be23f0de2dd1676b95feb6b46cbdd5f2.zip
Merge branch 'IPC'
Diffstat (limited to 'structs.h')
-rw-r--r--structs.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/structs.h b/structs.h
deleted file mode 100644
index 5273f52..0000000
--- a/structs.h
+++ /dev/null
@@ -1,55 +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 RootData
-{
- std::vector<int> floatingFrameIDs;
- Window focus;
- //int workspaceNumber;
-};
-
-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;
-
- // Null if not root
- RootData* rootData;
-};
-
-struct ScreenInfo
-{
- std::string name;
- int x, y, w, h;
-};