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