[gtk+] gtkwindow: Remove a vestigal line of painting for OR windows



commit 46e7f7f4567ef56102703f725d993cd151cec070
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jun 26 15:00:59 2014 -0400

    gtkwindow: Remove a vestigal line of painting for OR windows
    
    Since we have a paint clock, we shouldn't be sending out EXPOSE events
    for OR windows inside the ALLOCATE cycle. The idea here was that we
    would have to wait for a map to get an OR window to paint to, but since
    then this has been abstracted away inside GDK and the paint clock.

 gtk/gtkwindow.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 8f47859..5715335 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -9423,8 +9423,6 @@ gtk_window_move_resize (GtkWindow *window)
 
          gtk_widget_size_allocate (widget, &allocation);
 
-         gdk_window_process_updates (gdk_window, TRUE);
-
           G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
          if (gtk_container_get_resize_mode (container) == GTK_RESIZE_QUEUE)
            gtk_widget_queue_draw (widget);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]