blob: 118745b338072b4e82e1005392f6572c7c4fdb75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -urNp pinentry-0.7.4/gtk+-2/pinentry-gtk-2.c pinentry-0.7.4.new/gtk+-2/pinentry-gtk-2.c
--- pinentry-0.7.4/gtk+-2/pinentry-gtk-2.c 2007-11-29 00:57:55.000000000 +0200
+++ pinentry-0.7.4.new/gtk+-2/pinentry-gtk-2.c 2007-12-20 22:38:05.000000000 +0200
@@ -261,10 +261,10 @@ create_window (int confirm_mode)
if (!confirm_mode)
{
g_signal_connect (G_OBJECT (win),
- pinentry->grab ? "map-event" : "focus-in-event",
+ "focus-in-event",
G_CALLBACK (grab_keyboard), NULL);
g_signal_connect (G_OBJECT (win),
- pinentry->grab ? "unmap-event" : "focus-out-event",
+ "focus-out-event",
G_CALLBACK (ungrab_keyboard), NULL);
}
gtk_window_add_accel_group (GTK_WINDOW (win), acc);
|