[PATCH] pinentry-gtk-2: Fix ERROR: could not grab keyboard

Stanislav Ochotnicky sochotnicky at redhat.com
Wed Apr 28 09:55:55 CEST 2010

On 04/27/2010 11:10 PM, Ed Martin wrote:
> I already fixed this and submitted it to the list long ago (and i'm not about to search for it), it got lost to the spam and never committed. The problem is X does send an event when the window is visible (instead of just mapped) but gtk does not offer this signal by default, and the keyboard needs to be grabbed when it is visible. Debian's list was not full of spam and has already accepted my patch.

Well, the list doesn't seem to be full with spam anymore so maybe you'll
be more lucky :-)

> Anyways, a like to a patch that addresses the problem instead of fixing it.
> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=27;bug=401957
> Maybe someone can commit it upstream this time.

I have verified that debian patch, it works even for trunk and fixes
problems with *box WMs. So this patch actually addresses the issue
instead of creating workaround.

If you use any patch for this, I suggest you use debian patch and not my

Stanislav Ochotnicky <sochotnicky at redhat.com>
Associate Software Engineer - Base Operating Systems Brno

Mobile: +420 775 633 759
Red Hat Inc.                               http://cz.redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100428/9f0da326/attachment.pgp>

More information about the Gpa-dev mailing list