mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Propagate the event to unanchored children in the text window. (#302494,
2005-05-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c (gtk_text_view_expose_event): Propagate the event to unanchored children in the text window. (#302494, Stephen Kennedy)
This commit is contained in:
parent
20f9c58edb
commit
e82f8ece3a
@ -1,3 +1,9 @@
|
||||
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
||||
the event to unanchored children in the text window.
|
||||
(#302494, Stephen Kennedy)
|
||||
|
||||
2005-04-30 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
||||
the event to unanchored children in the text window.
|
||||
(#302494, Stephen Kennedy)
|
||||
|
||||
2005-04-30 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
||||
the event to unanchored children in the text window.
|
||||
(#302494, Stephen Kennedy)
|
||||
|
||||
2005-04-30 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
|
||||
|
@ -4264,7 +4264,9 @@ gtk_text_view_expose_event (GtkWidget *widget, GdkEventExpose *event)
|
||||
if (event->window == widget->window)
|
||||
gtk_text_view_draw_focus (widget);
|
||||
|
||||
/* Propagate exposes to all children not in the buffer. */
|
||||
/* Propagate exposes to all unanchored children.
|
||||
* Anchored children are handled in gtk_text_view_paint().
|
||||
*/
|
||||
tmp_list = GTK_TEXT_VIEW (widget)->children;
|
||||
while (tmp_list != NULL)
|
||||
{
|
||||
@ -4273,7 +4275,7 @@ gtk_text_view_expose_event (GtkWidget *widget, GdkEventExpose *event)
|
||||
/* propagate_expose checks that event->window matches
|
||||
* child->window
|
||||
*/
|
||||
if (vc->type != GTK_TEXT_WINDOW_TEXT)
|
||||
if (!vc->anchor)
|
||||
gtk_container_propagate_expose (GTK_CONTAINER (widget),
|
||||
vc->widget,
|
||||
event);
|
||||
|
Loading…
Reference in New Issue
Block a user