<span class="gmail_quote"></span>Dear list,<br><br>we are developing an installer and it runs without window manager on a livecd. The program has a main frame which fills up the entire X screen and some times we open a simple dialog (modal, Yes/No). The problem is, when we open a modal dialog, the focus follows mouse. Keyboard input should go to this modal dialog but it follows mouse, unexpectedly being stealed by the main frame (which is below the dialog). So the user must move the mouse above the dialog for keys to work. Too bad...
<br><br>Any ideas on how can I prevent focus to follow mouse?<br><br>I tried to use Xlib and disable some events with eventfilters and I tried to overload focusInEvent for the main frame. I have no experience on this and I had no success.
<br><br>thanks in advance,<br>-- <br><span class="sg">F.

</span><br clear="all"><br>