From 0600e8cf75ef93750ccf057ac22ea0a422218dd0 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 28 Nov 2004 15:18:23 +0000 Subject: [PATCH] Bah, there's always one thing I miss. Correct the background-colour handling in Unix PuTTY. [originally from svn r4918] --- unix/pterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/pterm.c b/unix/pterm.c index 5254bf37..2c8d9e15 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -1331,9 +1331,9 @@ static void real_palette_set(struct gui_data *inst, int n, int r, int g, int b) void set_window_background(struct gui_data *inst) { if (inst->area && inst->area->window) - gdk_window_set_background(inst->area->window, &inst->cols[18]); + gdk_window_set_background(inst->area->window, &inst->cols[258]); if (inst->window && inst->window->window) - gdk_window_set_background(inst->window->window, &inst->cols[18]); + gdk_window_set_background(inst->window->window, &inst->cols[258]); } void palette_set(void *frontend, int n, int r, int g, int b) -- 2.45.2