Hi Peter, > > just a guess: XSetInputFocus()? Yeah, that call help a lot to resolv the issue, the real problem was fixed with the grab/ungrab keyboard calls. thanks Eduardo > > Cheers, > Peter >