vte r2358 - in trunk: . src
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2358 - in trunk: . src
- Date: Tue, 6 Jan 2009 05:39:17 +0000 (UTC)
Author: behdad
Date: Tue Jan 6 05:39:17 2009
New Revision: 2358
URL: http://svn.gnome.org/viewvc/vte?rev=2358&view=rev
Log:
2009-01-06 Behdad Esfahbod <behdad gnome org>
* src/vte.c (vte_terminal_set_color_internal): If color is VTE_CUR_BG,
invalidate_cursor_once instead of invalidate_all.
Modified:
trunk/ChangeLog
trunk/src/vte.c
Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c (original)
+++ trunk/src/vte.c Tue Jan 6 05:39:17 2009
@@ -2526,8 +2526,8 @@
color = &terminal->pvt->palette[entry];
if (color->red == proposed->red &&
- color->green == proposed->green &&
- color->blue == proposed->blue) {
+ color->green == proposed->green &&
+ color->blue == proposed->blue) {
return;
}
@@ -2552,7 +2552,10 @@
}
/* and redraw */
- _vte_invalidate_all (terminal);
+ if (entry == VTE_CUR_BG)
+ _vte_invalidate_cursor_once(terminal, FALSE);
+ else
+ _vte_invalidate_all (terminal);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]