diff options
author | Tim Janik <timj@gtk.org> | 2001-05-12 13:16:40 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-05-12 13:16:40 +0000 |
commit | ee3cc234b87ae911fb3778fd9471b752236f400b (patch) | |
tree | 23df85d12e4f5d4100c452aae2f837126ab63e82 | |
parent | 7cf827771d63b23d104167633ef199e32c814eaf (diff) | |
download | gdk-pixbuf-ee3cc234b87ae911fb3778fd9471b752236f400b.tar.gz |
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().
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtkmain.c | 13 |
8 files changed, 42 insertions, 6 deletions
@@ -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): diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 9d527df0b..2c29dbe21 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -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): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 9d527df0b..2c29dbe21 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 9d527df0b..2c29dbe21 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -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): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 9d527df0b..2c29dbe21 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -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): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 9d527df0b..2c29dbe21 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 9d527df0b..2c29dbe21 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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): diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index d0122f3bc..689cea9b2 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -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: |