Function: handle-switch-frame
handle-switch-frame is an interactive function defined in frame.c.
Signature
(handle-switch-frame EVENT)
Documentation
Handle a switch-frame event EVENT.
Switch-frame events are usually bound to this function. A switch-frame event is an event Emacs sends itself to indicate that input is arriving in a new frame. It does not necessarily represent user-visible input focus.
Key Bindings
Source Code
// Defined in /usr/src/emacs/src/frame.c
{
/* Preserve prefix arg that the command loop just cleared. */
kset_prefix_arg (current_kboard, Vcurrent_prefix_arg);
run_hook (Qmouse_leave_buffer_hook);
return do_switch_frame (event, 0, 0, Qnil);
}