
In a GUI, input from the keyboard and pointing device is channeled into various applications by a program called an event notifier. Usually the position of the pointing device determines which program, or program part receives keyboard and other events. The program or program part which is currently receiving input, is said to have the input focus.
In the optical sense focus is the position at which the light from a point source reaches its smallest spatial extent. Depending on the exact criterion used to define "smallest", the focus portion may shift slightly.
