blob: 0907c70e6750197e802dc87508052f6a7d8ca904 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/src/whowatch.c
+++ b/src/whowatch.c
@@ -436,12 +436,12 @@
gettimeofday(&after, 0);
tv.tv_sec -= (after.tv_sec - before.tv_sec);
if(retval > 0) {
- int key = read_key();
+ int key = getkey();
key_action(key);
}
if(tv.tv_sec <= 0) {
ticks++;
- periodic();
+ main_periodic();
tv.tv_sec = TIMEOUT;
}
#endif
|