remove old debug x11 code

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

View file

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