summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-11-26 09:28:02 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-11-26 09:28:02 +0100
commitc8a37d523e0cea3b0ca4ef790dade4eb4b95d1ad (patch)
treedcf5db7f7356e7b1146c675fd1f494726e2d56ee /src/input.c
parentb4d756008ca98e454904c64e151ae08e4e0f733f (diff)
downloadratpoison-c8a37d523e0cea3b0ca4ef790dade4eb4b95d1ad.zip
Don't check for usleep, useless since Dec. 2004
* see 9cb1a3d. If your system doesn't provide usleep or ratpoison doesn't manage to find it, please report back.
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/input.c b/src/input.c
index 5757bf7..240cfed 100644
--- a/src/input.c
+++ b/src/input.c
@@ -503,17 +503,8 @@ ring_bell (void)
XFillRectangle (dpy, s->input_window, lgc, 0, 0, attr.width, attr.height);
XFlush (dpy);
-#ifdef HAVE_USLEEP
usleep (15000);
-#else
- {
- struct timeval tv;
- tv.tv_sec = 0;
- tv.tv_usec = 15000;
- select (0, NULL, NULL, NULL, &tv);
- }
-#endif
XFillRectangle (dpy, s->input_window, lgc, 0, 0, attr.width, attr.height);
XFlush (dpy);
XFreeGC (dpy, lgc);