blob: 8d13ac6378fca99ed207ddf66c210efd6abd9e69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN gnome-terminal-2.22.1.orig/src/terminal-widget-vte.c gnome-terminal-2.22.1/src/terminal-widget-vte.c
--- gnome-terminal-2.22.1.orig/src/terminal-widget-vte.c 2008-03-20 06:16:25.000000000 -0400
+++ gnome-terminal-2.22.1/src/terminal-widget-vte.c 2008-04-12 15:21:46.000000000 -0400
@@ -416,10 +416,17 @@ terminal_widget_set_colors (GtkWidget
const GdkColor *background,
const GdkColor *palette_entries)
{
+ GdkColor cursor;
g_return_if_fail(VTE_IS_TERMINAL(widget));
vte_terminal_set_colors(VTE_TERMINAL(widget), foreground, background,
palette_entries, TERMINAL_PALETTE_SIZE);
vte_terminal_set_background_tint_color(VTE_TERMINAL(widget), background);
+
+ cursor.red = 65280;
+ cursor.green = 30208;
+ cursor.blue = 0;
+
+ vte_terminal_set_color_cursor(VTE_TERMINAL(widget), &cursor);
}
void
|