vte r2040 - in trunk: . src



Author: cpwilson
Date: Thu May  8 15:23:16 2008
New Revision: 2040
URL: http://svn.gnome.org/viewvc/vte?rev=2040&view=rev

Log:
2008-05-08  Chris Wilson  <chris chris-wilson co uk>

    Bug 516869 â vte displays nothing on GTK+/DirectFB

    Original patch by JÃrÃmy Bobbio.

    * src/vte.c (vte_terminal_class_init), (update_regions),
    (update_repeat_timeout), (update_timeout):
    gdk_window_process_all_updates() is ineffective on the gtk+-directfb
    and gtk+-quartz backends, so in order to process updates immediately
    one must call gdk_window_process_updates() on the desired GdkWindows
    instead.



Modified:
   trunk/ChangeLog
   trunk/src/vte.c

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Thu May  8 15:23:16 2008
@@ -10436,7 +10436,7 @@
 					"  !  _vte_invalidate_cells (dirty)\n"
 					"  *  _vte_invalidate_all\n"
 					"  )  end _vte_terminal_process_incoming\n"
-					"  -  gdk_window_process_all_updates\n"
+					"  -  gdk_window_process_updates\n"
 					"  +  vte_terminal_expose\n"
 					"  =  vte_terminal_paint\n"
 					"  ]} start update_timeout\n"
@@ -12423,6 +12423,7 @@
 
 	/* and perform the merge with the window visible area */
 	gdk_window_invalidate_region (terminal->widget.window, region, FALSE);
+	gdk_window_process_updates (terminal->widget.window, FALSE);
 	gdk_region_destroy (region);
 
 	_vte_debug_print (VTE_DEBUG_WORK, "-");
@@ -12491,6 +12492,9 @@
 
 
 	if (active_terminals != NULL) {
+		/* remove the idle source, and draw non-Terminals
+		 * (except for gdk/{directfb,quartz}!)
+		 */
 		gdk_window_process_all_updates ();
 	}
 
@@ -12581,6 +12585,9 @@
 	}
 
 	if (redraw) {
+		/* remove the idle source, and draw non-Terminals
+		 * (except for gdk/{directfb,quartz}!)
+		 */
 		gdk_window_process_all_updates ();
 	}
 



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