summaryrefslogtreecommitdiff
path: root/gtk/gtksocket.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-12-27 19:20:23 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-12-27 19:20:23 +0000
commit95f4d72e626c69c5be8a2a9ab0532f043f53673e (patch)
tree45bdef6eaa82e7052930564ae8d04530199bc79e /gtk/gtksocket.c
parent2282ef41d1a1e5687748eb977ae5a1d1ade68567 (diff)
downloadgtk+-95f4d72e626c69c5be8a2a9ab0532f043f53673e.tar.gz
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key
Thu Dec 27 14:04:22 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtksocket.c (gtk_socket_key_press_event): gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key presses unless we are doing iter-app embedding. (Fixes #67590, Anders Carlsson)
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r--gtk/gtksocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index 5753dc9a28..cc7e306ea0 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -687,7 +687,7 @@ gtk_socket_key_press_event (GtkWidget *widget,
{
GtkSocket *socket = GTK_SOCKET (widget);
- if (socket->plug_window)
+ if (GTK_WIDGET_HAS_FOCUS (socket) && socket->plug_window && !socket->plug_widget)
{
XEvent xevent;