• Jim Blandy's avatar
    Use the term `scroll bar', instead of `scrollbar'. · fd2777e0
    Jim Blandy authored
    	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
    	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
    	xterm.c, xterm.h: Terminology changed.
    
            Don't generate switch-frame events by checking Vlast_event_frame;
    	use a separate variable for that bookkeeping.  In order to
    	generate them properly, we may need to fiddle with it.
    	* keyboard.c (internal_last_event_frame): New variable.
    	(command_loop_1): Check internal_last_event_frame, not
    	Vlast_event_frame.
    	(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
    	internal_last_event_frame.
    	(kbd_buffer_get_event): Check internal_last_event_frame to decide
    	whether to generate a switch-frame event.  Set Vlast_event_frame
    	after each event.
    	(init_keyboard): Initialize both Vlast_event_frame and
    	internal_last_event_frame.
    	* keyboard.h (internal_last_event_frame): Add extern declaration
    	for this.
    	* frame.c (Vlast_event_frame): Remove external declaration for
    	this.
    	(Fselect_frame): Set internal_last_event_frame to Qnil to force a
    	switch-frame event, not Vlast_event_frame; the latter is supposed
    	to convey information to the user.
    fd2777e0
keyboard.h 3.71 KB