summaryrefslogtreecommitdiff
path: root/src/graphics_x11.h
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-12-16 19:28:39 -0600
committerepoch <epoch@hacking.allowed.org>2018-12-16 19:28:39 -0600
commitf479b438e6119e83c95b19aaeccd61a8e5eded27 (patch)
tree726a3916d9128f6c970f49431ef8b27140e49747 /src/graphics_x11.h
parent13dd5a6d313a2086647751286ca8315a12c804f1 (diff)
downloadhackvr-f479b438e6119e83c95b19aaeccd61a8e5eded27.tar.gz
hackvr-f479b438e6119e83c95b19aaeccd61a8e5eded27.zip
fuck if I know. lots of shit. moved files.
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;
};