• Jim Blandy's avatar
    * keyboard.c (command_loop_1): Rebuild menu bar if · 598a9fa7
    Jim Blandy authored
    	update_mode_lines is set.
    
            Since Qmenu_enable is used by non-X-specific code, it shouldn't be
    	defined in an X-only source file.
    	* xmenu.c (Qmenu_enable): Definition moved...
    	(syms_of_xmenu): ... along with initialization ...
    	* keyboard.c (Qmenu_enable): ... to here ...
    	(syms_of_keyboard): ... and here.
    
    	* keyboard.c (kbd_buffer_get_event): If we get a selection clear
    	or selection request event, but we were compiled without the
    	window-system-specific code to handle it, abort.  Don't try to
    	call a function which doesn't exist.
    
    	* keyboard.c (make_lispy_event): In the code which processes mouse
    	clicks, declare f to be a FRAME_PTR, not a struct frame *; this
    	works when MULTI_FRAME is not #defined.
    598a9fa7
keyboard.c 136 KB