From 41a11496e3368c7cccbb6d037779cd285c1e4be1 Mon Sep 17 00:00:00 2001 From: David Hill Date: Sun, 15 Jul 2012 02:41:30 -0400 Subject: [PATCH] undo if 0 the select code. --- spectrwm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spectrwm.c b/spectrwm.c index 15187b3..684eebc 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -7646,10 +7646,8 @@ main(int argc, char *argv[]) int xfd, i, num_screens; struct sigaction sact; xcb_generic_event_t *evt; -#if 0 struct timeval tv; fd_set rd; -#endif time_started = time(NULL); @@ -7818,7 +7816,6 @@ noconfig: continue; } -#if 0 FD_ZERO(&rd); FD_SET(xfd, &rd); tv.tv_sec = 1; @@ -7826,7 +7823,6 @@ noconfig: if (select(xfd + 1, &rd, NULL, NULL, &tv) == -1) if (errno != EINTR) DNPRINTF(SWM_D_MISC, "select failed"); -#endif if (restart_wm == 1) restart(NULL, NULL); if (search_resp == 1) -- 1.7.10.4