summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c
index dca9b79..064c794 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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);