comparison src/keyboard.c @ 83027:5b06ac722eb1

Cosmetic changes. src/cm.c (calccost, cmgoto): Cosmetic changes. src/keyboard.c (kbd_buffer_get_event, Fcurrent_input_mode): Ditto. src/term.c: Cosmetic changes. src/termchar.h (top_frame): Removed obsolete TODO comment. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-67
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 25 Jan 2004 01:17:40 +0000
parents 77cfe20c109c
children 03a73693678e
comparison
equal deleted inserted replaced
83026:77cfe20c109c 83027:5b06ac722eb1
4048 *kbp = current_kboard; 4048 *kbp = current_kboard;
4049 /* Note that this uses F to determine which display to look at. 4049 /* Note that this uses F to determine which display to look at.
4050 If there is no valid info, it does not store anything 4050 If there is no valid info, it does not store anything
4051 so x remains nil. */ 4051 so x remains nil. */
4052 x = Qnil; 4052 x = Qnil;
4053 if (f && FRAME_DISPLAY (f)->mouse_position_hook) /* XXX Can f or mouse_position_hook be NULL here? */ 4053
4054 (*FRAME_DISPLAY (f)->mouse_position_hook) (&f, 0, &bar_window, &part, &x, &y, &time); 4054 /* XXX Can f or mouse_position_hook be NULL here? */
4055 if (f && FRAME_DISPLAY (f)->mouse_position_hook)
4056 (*FRAME_DISPLAY (f)->mouse_position_hook) (&f, 0, &bar_window,
4057 &part, &x, &y, &time);
4055 4058
4056 obj = Qnil; 4059 obj = Qnil;
4057 4060
4058 /* Decide if we should generate a switch-frame event. Don't 4061 /* Decide if we should generate a switch-frame event. Don't
4059 generate switch-frame events for motion outside of all Emacs 4062 generate switch-frame events for motion outside of all Emacs
10548 10551
10549 val[0] = interrupt_input ? Qt : Qnil; 10552 val[0] = interrupt_input ? Qt : Qnil;
10550 if (FRAME_TERMCAP_P (sf)) 10553 if (FRAME_TERMCAP_P (sf))
10551 { 10554 {
10552 val[1] = FRAME_TTY (sf)->flow_control ? Qt : Qnil; 10555 val[1] = FRAME_TTY (sf)->flow_control ? Qt : Qnil;
10553 val[2] = FRAME_TTY (sf)->meta_key == 2 10556 val[2] = (FRAME_TTY (sf)->meta_key == 2
10554 ? make_number (0) 10557 ? make_number (0)
10555 : CURTTY ()->meta_key == 1 ? Qt : Qnil; 10558 : (CURTTY ()->meta_key == 1 ? Qt : Qnil));
10556 } 10559 }
10557 else 10560 else
10558 { 10561 {
10559 val[1] = Qnil; 10562 val[1] = Qnil;
10560 val[2] = Qt; 10563 val[2] = Qt;