From 1a686e024828bdca1c67603560d4bf622dc6f8d1 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Mon, 24 Apr 2023 00:10:06 -0400 Subject: [PATCH] remove old debug x11 code --- src/screen.c | 6 +----- 1 file changed, 1 insertion(+), 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 #undef Screen #include @@ -10,6 +9,7 @@ #include #define XLIB_ILLEGAL_ACCESS +#include #include #include @@ -38,10 +38,6 @@ static void init_x() { exit(EXIT_FAILURE); } -#ifdef DEBUG - XSynchronize(dpy, True); -#endif - scr = DefaultScreen(dpy); root = RootWindow(dpy, scr);