projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.11
[chise/xemacs-chise.git.1]
/
src
/
event-tty.c
diff --git
a/src/event-tty.c
b/src/event-tty.c
index
6f02747
..
0e44cf4
100644
(file)
--- a/
src/event-tty.c
+++ b/
src/event-tty.c
@@
-71,6
+71,8
@@
tty_timeout_to_emacs_event (struct Lisp_Event *emacs_event)
emacs_event->timestamp = 0; /* #### */
emacs_event->event.timeout.interval_id =
pop_low_level_timeout (&tty_timer_queue, 0);
emacs_event->timestamp = 0; /* #### */
emacs_event->event.timeout.interval_id =
pop_low_level_timeout (&tty_timer_queue, 0);
+ emacs_event->event.timeout.function = Qnil;
+ emacs_event->event.timeout.object = Qnil;
}
\f
}
\f
@@
-92,8
+94,8
@@
emacs_tty_event_pending_p (int user_p)
non_fake_input_wait_mask);
}
non_fake_input_wait_mask);
}
-static struct console *
-find_console_from_fd (int fd)
+struct console *
+tty_find_console_from_fd (int fd)
{
Lisp_Object concons;
{
Lisp_Object concons;
@@
-140,7
+142,7
@@
emacs_tty_next_event (struct Lisp_Event *emacs_event)
user events ahead of process events. */
if (FD_ISSET (i, &temp_mask) && FD_ISSET (i, &tty_only_mask))
{
user events ahead of process events. */
if (FD_ISSET (i, &temp_mask) && FD_ISSET (i, &tty_only_mask))
{
- struct console *c = find_console_from_fd (i);
+ struct console *c = tty_find_console_from_fd (i);
assert (c);
if (read_event_from_tty_or_stream_desc (emacs_event, c, i))
assert (c);
if (read_event_from_tty_or_stream_desc (emacs_event, c, i))