diff options
author | Tim Williams <tmw@autotrain.org> | 2011-10-14 13:51:18 +0100 |
---|---|---|
committer | Tim Williams <tmw@autotrain.org> | 2011-10-14 13:51:18 +0100 |
commit | ec2515f058c60d2478a549f58376db628ba556b9 (patch) | |
tree | aefbde1b807005611b397e01ebc5782c7d27ff91 /mandriva/2010.2/dependencies/pinentry/0003-pinentry-gtk-x11-race.patch | |
parent | bba295da1161579c6fe734680c827e50a3585131 (diff) | |
download | tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.tar.gz tde-packaging-ec2515f058c60d2478a549f58376db628ba556b9.zip |
Initial commit of the Mandriva patches and spec files.
This includes the main dependencies and core packages, but very little else.
Diffstat (limited to 'mandriva/2010.2/dependencies/pinentry/0003-pinentry-gtk-x11-race.patch')
-rw-r--r-- | mandriva/2010.2/dependencies/pinentry/0003-pinentry-gtk-x11-race.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mandriva/2010.2/dependencies/pinentry/0003-pinentry-gtk-x11-race.patch b/mandriva/2010.2/dependencies/pinentry/0003-pinentry-gtk-x11-race.patch new file mode 100644 index 000000000..86bca6ae9 --- /dev/null +++ b/mandriva/2010.2/dependencies/pinentry/0003-pinentry-gtk-x11-race.patch @@ -0,0 +1,17 @@ +Index: gtk+-2/pinentry-gtk-2.c +=================================================================== +--- gtk+-2/pinentry-gtk-2.c ++++ gtk+-2/pinentry-gtk-2.c 2010-05-13 08:17:10.000000000 +0200 +@@ -306,8 +306,11 @@ + g_signal_connect (G_OBJECT (win), + "realize", G_CALLBACK (make_transient), NULL); + ++ //we need to grab the keyboard when its visible! not when its mapped (there is a difference) ++ g_object_set(G_OBJECT(win), "events", GDK_VISIBILITY_NOTIFY_MASK | GDK_STRUCTURE_MASK, NULL); ++ + g_signal_connect (G_OBJECT (win), +- pinentry->grab ? "map-event" : "focus-in-event", ++ pinentry->grab ? "visibility-notify-event" : "focus-in-event", + G_CALLBACK (grab_keyboard), NULL); + g_signal_connect (G_OBJECT (win), + pinentry->grab ? "unmap-event" : "focus-out-event", |