Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b5fd0
)
undo if 0 the select code.
author
David Hill
<dhill@conformal.com>
Sun, 15 Jul 2012 06:41:30 +0000
(
02:41
-0400)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 20 Jul 2012 21:59:29 +0000
(
05:59
+0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
15187b3
..
684eebc
100644
(file)
--- 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)