remove old debug x11 code

This commit is contained in:
Murphy 2023-04-24 00:10:06 -04:00
parent 3d3a54a975
commit 1a686e0248

View file

@ -1,5 +1,4 @@
#include "screen.h"
#include <X11/X.h>
#undef Screen
#include <math.h>
@ -10,6 +9,7 @@
#include <sys/select.h>
#define XLIB_ILLEGAL_ACCESS
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@ -38,10 +38,6 @@ static void init_x() {
exit(EXIT_FAILURE);
}
#ifdef DEBUG
XSynchronize(dpy, True);
#endif
scr = DefaultScreen(dpy);
root = RootWindow(dpy, scr);