summaryrefslogtreecommitdiff
path: root/structs.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2022-12-14 20:14:19 +1300
committerBossCode45 <human.cyborg42@gmail.com>2022-12-14 20:14:19 +1300
commite7bfc85d90f92a896636f1bb9cbab1de1a29b8f2 (patch)
treec76d43a0f80181c7724255ac6ae15566603173f8 /structs.h
parentb1e0a2d87e826bec6d1270dde9063c777d90d520 (diff)
parent7ec43dd82b8507e1cc4d1b8b1ab1af2298c77c84 (diff)
downloadYATwm-e7bfc85d90f92a896636f1bb9cbab1de1a29b8f2.tar.gz
YATwm-e7bfc85d90f92a896636f1bb9cbab1de1a29b8f2.zip
Merge branch 'multi-monitor'
Diffstat (limited to 'structs.h')
-rw-r--r--structs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/structs.h b/structs.h
index c238413..0ace524 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
@@ -35,4 +37,11 @@ struct Frame
std::vector<int> subFrameIDs;
bool isRoot;
std::vector<int> floatingFrameIDs;
+ //int whichChildFocused = 0;
+};
+
+struct ScreenInfo
+{
+ std::string name;
+ int x, y, w, h;
};