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)
This commit is contained in:
Owen Taylor 2002-01-29 19:58:43 +00:00 committed by Owen Taylor
parent b2388ec7b4
commit 53ca71377d
8 changed files with 55 additions and 9 deletions

View File

@ -1,7 +1,13 @@
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>

View File

@ -1,7 +1,13 @@
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>

View File

@ -1,7 +1,13 @@
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>

View File

@ -1,7 +1,13 @@
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>

View File

@ -1,7 +1,13 @@
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>

View File

@ -1,7 +1,13 @@
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>

View File

@ -1,7 +1,13 @@
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>

View File

@ -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