summaryrefslogtreecommitdiff
path: root/os/WaitFor.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-06-01 18:47:47 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-06-01 18:47:47 +0000
commita73e0f8cdfec1c9199ffe696146ba7d677c4c10d (patch)
treee6d5bf7d6b7f564d376f704a151ea06ad37de1bf /os/WaitFor.c
parentfc5ca97284ef237a91f6adb433148ff57a673c08 (diff)
Die XTESTEXT1, die!
Diffstat (limited to 'os/WaitFor.c')
-rw-r--r--os/WaitFor.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c
index f132e0e9a..f7921c3d9 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -118,13 +118,6 @@ mffs(fd_mask mask)
#include <X11/extensions/dpms.h>
#endif
-#ifdef XTESTEXT1
-/*
- * defined in xtestext1dd.c
- */
-extern int playback_on;
-#endif /* XTESTEXT1 */
-
struct _OsTimerRec {
OsTimerPtr next;
CARD32 expires;
@@ -224,13 +217,6 @@ WaitForSomething(int *pClientsReady)
BlockHandler((pointer)&wt, (pointer)&LastSelectMask);
if (NewOutputPending)
FlushAllOutput();
-#ifdef XTESTEXT1
- /* XXX how does this interact with new write block handling? */
- if (playback_on) {
- wt = &waittime;
- XTestComputeWaitTime (&waittime);
- }
-#endif /* XTESTEXT1 */
/* keep this check close to select() call to minimize race */
if (dispatchException)
i = -1;
@@ -245,11 +231,6 @@ WaitForSomething(int *pClientsReady)
}
selecterr = GetErrno();
WakeupHandler(i, (pointer)&LastSelectMask);
-#ifdef XTESTEXT1
- if (playback_on) {
- i = XTestProcessInputAction (i, &waittime);
- }
-#endif /* XTESTEXT1 */
#ifdef SMART_SCHEDULE
if (i >= 0)
{