summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-08-03 07:49:22 -0500
committerepoch <epoch@hacking.allowed.org>2019-08-03 07:49:22 -0500
commit63af21cb1965bc19bb1bfcd1137ee1e0bd52eef3 (patch)
tree0a02727294c4f531cb3e4f4a6b9f746800d23db1
parent18fbe373c1f3f3b0762cc57b0b1588cdaef92ada (diff)
downloadhackvr-63af21cb1965bc19bb1bfcd1137ee1e0bd52eef3.tar.gz
hackvr-63af21cb1965bc19bb1bfcd1137ee1e0bd52eef3.zip
store display's fd in x11_global now to pass to select() in libidc
-rw-r--r--src/graphics_x11.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphics_x11.h b/src/graphics_x11.h
index 38f5737..b5c3119 100644
--- a/src/graphics_x11.h
+++ b/src/graphics_x11.h
@@ -14,6 +14,7 @@ struct x11_global {//stores global variables for the x11 *specific* shit.
XColor redblue[2];
Colormap color_map;
Display *dpy;
+ int fd;
Window w;
Pixmap backbuffer;
Pixmap cleanbackbuffer;