forked from AuroraMiddleware/gtk
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:
parent
b2388ec7b4
commit
53ca71377d
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user