focus-window

Name

focus-window -- Give WIN the keyboard input focus.

Synopsis

(focus-window  #&optional win)

Description

Give win the keyboard input focus. This will typically result in drawing win's frame in a special style as well. win defaults to the window context in the usual way if not specified. Note that win is not raised by giving it the focus; see raise-window if that is your intent.

Implementation Notes

Module: Built-in Primitive

Defined in src/window.c at line 1831 (CVS log)