How to set focus to another application?

Havoc Pennington hp at redhat.com
Sun Sep 28 19:41:57 BST 2003


On Sun, 2003-09-28 at 06:43, shaheed wrote:
> 
>     status = XSetInputFocus(display, targetWindow, RevertToNone, CurrentTime);

Side note: never use RevertToNone! It globally disables the keyboard,
including window manager keybindings. One might ask why the X protocol
even allows this, but in any case I'd avoid using it.
</tangent>

Havoc





More information about the kde-core-devel mailing list