Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109354 Details for
Bug 165493
app-crypt/pinentry-0.7.2 - gtk2 fails with "** ERROR **: could not grab keyboard"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pinentry-0.7.2-debug.patch
pinentry-0.7.2-debug.patch (text/plain), 660 bytes, created by
Alon Bar-Lev (RETIRED)
on 2007-02-06 17:48:13 UTC
(
hide
)
Description:
pinentry-0.7.2-debug.patch
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2007-02-06 17:48:13 UTC
Size:
660 bytes
patch
obsolete
>--- pinentry-0.7.2/gtk+-2/pinentry-gtk-2.c 2004-09-02 04:47:13.000000000 +0300 >+++ pinentry-0.7.2.new/gtk+-2/pinentry-gtk-2.c 2007-02-06 19:48:26.000000000 +0200 >@@ -89,11 +89,14 @@ constrain_size (GtkWidget *win, GtkRequi > static void > grab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data) > { >+ int r; > if (!pinentry->grab) > return; > >- if (gdk_keyboard_grab (win->window, FALSE, gdk_event_get_time (event))) >- g_error ("could not grab keyboard"); >+ gtk_widget_realize (win); >+ >+ if ((r=gdk_keyboard_grab (win->window, FALSE, gdk_event_get_time (event))) != 0) >+ g_error ("could not grab keyboard (%d)", r); > } > > /* Remove grab. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 165493
:
109261
| 109354 |
122155