12.5 Controlling Input Focus

Xlib provides functions that you can use to set and get the input focus. The input focus is a shared resource, and cooperation among clients is required for correct interaction. See the XSetInputFocus().

To obtain the current input focus, use XGetInputFocus().

Next: Keyboard and Pointer Settings

Christophe Tronche, ch.tronche@computer.org