submitter 401957 ! tag 401957 patch kthxbye On Tue, May 27, 2008 at 01:02:15 -0400, Ed Martin wrote:
> After a bit of research i found out that the cause is that pinentry > tries to grab the keyboard after the window has been mapped, however to > grab the keyboard the window needs to be visible, and there exists a > very small time period between when the window is mapped and when it > appears on screen and is actually visible (see `man XMapWindow`). On a > fast (and probably SMP) system, the application can get the MapNotify > event from X before X makes the window visible, the fix is to grab the > keyboard on the VisibilityNotify event from X (gdk calls it > visibility-notify-event) since thats what we actually care about, i have > attached a patch to do just that and it fixes the bug on my system. Thanks, that seems to work for me as well. Cheers, Julien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]