Commit 53ca7137 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent b2388ec7
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
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)
Tue Jan 29 14:47:54 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_init_check): Remove the scary startup
warning.
warning. (#69480)
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment