diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-29 19:58:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-29 19:58:43 +0000 |
commit | 53ca71377d0a812b0aa81346f7001d680e5f135a (patch) | |
tree | 95519ae9249d5ee6f71718a0f0812dc7e3b1580c /gtk/gtksocket.c | |
parent | b2388ec7b440ac6f6a7f89fe64ef221b8b9527ec (diff) | |
download | gtk+-53ca71377d0a812b0aa81346f7001d680e5f135a.tar.gz |
Return boolean (and FALSE from focus_in / focus_out handlers. (#69528,
Tue Jan 29 14:56:28 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (toplevel_focus_out_handler): Return boolean
(and FALSE from focus_in / focus_out handlers. (#69528,
Padraig O'Briain)
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index 8c2deb198c..543cb15442 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -612,7 +612,7 @@ toplevel_key_press_handler (GtkWidget *toplevel, #endif -static void +static gboolean toplevel_focus_in_handler (GtkWidget *toplevel, GdkEventFocus *event, GtkSocket *socket) @@ -625,15 +625,19 @@ toplevel_focus_in_handler (GtkWidget *toplevel, if (GTK_WIDGET_VISIBLE (toplevel)) send_xembed_message (socket, XEMBED_WINDOW_ACTIVATE, 0, 0, 0, gtk_get_current_event_time ()); /* Will be GDK_CURRENT_TIME */ + + return FALSE; } -static void +static gboolean toplevel_focus_out_handler (GtkWidget *toplevel, GdkEventFocus *event, GtkSocket *socket) { send_xembed_message (socket, XEMBED_WINDOW_DEACTIVATE, 0, 0, 0, gtk_get_current_event_time ()); /* Will be GDK_CURRENT_TIME */ + + return FALSE; } static void |