mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle):
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user