do not propagate unhandled key events on widgets with parent==NULL twice.
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key events on widgets with parent==NULL twice.
This commit is contained in:
parent
b47085512c
commit
d38e339ebb
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Thu Mar 26 08:31:58 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
|
||||||
|
events on widgets with parent==NULL twice.
|
||||||
|
|
||||||
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
Tue Mar 24 14:59:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkhandlebox.h:
|
* gtk/gtkhandlebox.h:
|
||||||
|
@ -1539,6 +1539,7 @@ gtk_propagate_event (GtkWidget *widget,
|
|||||||
handled_event = (parent &&
|
handled_event = (parent &&
|
||||||
GTK_WIDGET_IS_SENSITIVE (parent) &&
|
GTK_WIDGET_IS_SENSITIVE (parent) &&
|
||||||
gtk_widget_event (parent, event));
|
gtk_widget_event (parent, event));
|
||||||
|
handled_event |= parent == widget;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Other events get propagated up the widget tree
|
/* Other events get propagated up the widget tree
|
||||||
|
Loading…
Reference in New Issue
Block a user