summaryrefslogtreecommitdiff
path: root/src/main-x11.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-11-19 18:53:34 +0100
committerBardur Arantsson <bardur@scientician.net>2014-11-20 01:47:14 +0100
commit58129b61b5e0aa228eb8e4d0ee2d94702b46e5ba (patch)
treee3fa6b5710e291ac7810d0bc3ebda80fd2eec668 /src/main-x11.c
parent22a0cba63a68a7d294f77aa3eee15726d6ef9e5d (diff)
Remove TERM_XTRA_GET_DELAY
It was effectively unused since the removal of cmovies
Diffstat (limited to 'src/main-x11.c')
-rw-r--r--src/main-x11.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main-x11.c b/src/main-x11.c
index 81082434..53df57d7 100644
--- a/src/main-x11.c
+++ b/src/main-x11.c
@@ -2097,18 +2097,6 @@ static errr Term_xtra_x11(int n, int v)
usleep(1000 * v);
return (0);
- /* Get Delay of some milliseconds */
- case TERM_XTRA_GET_DELAY:
- {
- int ret;
- struct timeval tv;
-
- ret = gettimeofday(&tv, NULL);
- Term_xtra_long = (tv.tv_sec * 1000) + (tv.tv_usec / 1000);
-
- return ret;
- }
-
/* React to changes */
case TERM_XTRA_REACT: return (Term_xtra_x11_react());