app-crypt/pinentry-0.7.2 - gtk2 fails with "** ERROR **: could not grab keyboard"
Alon Bar-Lev
alon.barlev at gmail.com
Wed Mar 21 17:11:30 CET 2007
Hello,
Can anyone help?
http://bugs.gentoo.org/show_bug.cgi?id=165493
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=401957
88 /* Grab the keyboard for maximum security */
89 static void
90 grab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data)
91 {
92 if (!pinentry->grab)
93 return;
94
95 if (gdk_keyboard_grab (win->window, FALSE, gdk_event_get_time (event)))
96 g_error ("could not grab keyboard");
97 }
gdk_keyboard_grab with GDK_GRAB_NOT_VIEWABLE (3).
Best Regards,
Alon Bar-Lev.
More information about the Gnupg-devel
mailing list