aboutsummaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'window.h')
-rw-r--r--window.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/window.h b/window.h
index 5e00256..3a080f0 100644
--- a/window.h
+++ b/window.h
@@ -21,8 +21,18 @@
#include <X11/Xlib.h>
+typedef struct win_env_s {
+ Display *dpy;
+ int scr;
+ int scrw, scrh;
+ Visual *vis;
+ Colormap cmap;
+ int depth;
+} win_env_t;
+
typedef struct win_s {
Window xwin;
+ win_env_t env;
int w;
int h;