remember widget's double buffering state across expose event, so we still

Fri May 11 20:13:44 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
        buffering state across expose event, so we still call end_paint().
This commit is contained in:
Tim Janik 2001-05-12 13:16:40 +00:00 committed by Tim Janik
parent 7cf827771d
commit ee3cc234b8
8 changed files with 42 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -1,3 +1,8 @@
Fri May 11 20:13:44 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main_do_event): remember widget's double
buffering state across expose event, so we still call end_paint().
2001-05-11 Alexander Larsson <alexl@redhat.com>
* gtk/gtkhsv.c (paint_triangle):

View File

@ -873,12 +873,13 @@ gtk_main_do_event (GdkEvent *event)
case GDK_EXPOSE:
if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
gdk_window_begin_paint_region (event->any.window, event->expose.region);
gtk_widget_send_expose (event_widget, event);
if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
gdk_window_end_paint (event->any.window);
{
gdk_window_begin_paint_region (event->any.window, event->expose.region);
gtk_widget_send_expose (event_widget, event);
gdk_window_end_paint (event->any.window);
}
else
gtk_widget_send_expose (event_widget, event);
break;
case GDK_PROPERTY_NOTIFY: