forked from AuroraMiddleware/gtk
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:
parent
7cf827771d
commit
ee3cc234b8
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -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>
|
2001-05-11 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkhsv.c (paint_triangle):
|
* gtk/gtkhsv.c (paint_triangle):
|
||||||
|
@ -873,12 +873,13 @@ gtk_main_do_event (GdkEvent *event)
|
|||||||
|
|
||||||
case GDK_EXPOSE:
|
case GDK_EXPOSE:
|
||||||
if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
|
if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
|
||||||
gdk_window_begin_paint_region (event->any.window, event->expose.region);
|
{
|
||||||
|
gdk_window_begin_paint_region (event->any.window, event->expose.region);
|
||||||
gtk_widget_send_expose (event_widget, event);
|
gtk_widget_send_expose (event_widget, event);
|
||||||
|
gdk_window_end_paint (event->any.window);
|
||||||
if (event->any.window && GTK_WIDGET_DOUBLE_BUFFERED (event_widget))
|
}
|
||||||
gdk_window_end_paint (event->any.window);
|
else
|
||||||
|
gtk_widget_send_expose (event_widget, event);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GDK_PROPERTY_NOTIFY:
|
case GDK_PROPERTY_NOTIFY:
|
||||||
|
Loading…
Reference in New Issue
Block a user