summaryrefslogtreecommitdiff
path: root/structs.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2022-09-18 14:38:41 +1200
committerBossCode45 <human.cyborg42@gmail.com>2022-09-18 14:38:41 +1200
commita34c161a6643f184348f42235bcda46352b68da0 (patch)
treeb74a27a55b64c91dbec16df42d62894f8adeadc5 /structs.h
parent598f8cc9e8d7acc2adb1671adc591c3ad7008712 (diff)
downloadYATwm-a34c161a6643f184348f42235bcda46352b68da0.tar.gz
YATwm-a34c161a6643f184348f42235bcda46352b68da0.zip
Starting work on multiple monitors
Diffstat (limited to 'structs.h')
-rw-r--r--structs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/structs.h b/structs.h
index c238413..f58a8cd 100644
--- a/structs.h
+++ b/structs.h
@@ -2,6 +2,8 @@
#include <X11/Xlib.h>
+#include <X11/extensions/Xrandr.h>
+#include <string>
#include <vector>
#define noID -1
@@ -36,3 +38,9 @@ struct Frame
bool isRoot;
std::vector<int> floatingFrameIDs;
};
+
+struct ScreenInfo
+{
+ std::string name;
+ int x, y, w, h;
+};