summaryrefslogtreecommitdiff
path: root/src/graphics_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics_x11.h')
-rw-r--r--src/graphics_x11.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics_x11.h b/src/graphics_x11.h
index 7d123a8..38f5737 100644
--- a/src/graphics_x11.h
+++ b/src/graphics_x11.h
@@ -3,6 +3,8 @@
#include <X11/Xlib.h>
+#define HV_GRAPHICS_X11_EVENT_MASK StructureNotifyMask|ExposureMask
+
struct x11_global {//stores global variables for the x11 *specific* shit.
XColor colors[256];
XColor ansi_color[16];
@@ -17,6 +19,8 @@ struct x11_global {//stores global variables for the x11 *specific* shit.
Pixmap cleanbackbuffer;
GC gc;
GC backgc;
+ char snow;
+ cs_t rootmouse;
int root_window;
};