From ee07776923d448de7013f3420b5082129ffd88ef Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 28 Nov 2004 15:18:23 +0000 Subject: [PATCH 1/1] Bah, there's always one thing I miss. Correct the background-colour handling in Unix PuTTY. git-svn-id: svn://svn.tartarus.org/sgt/putty@4918 cda61777-01e9-0310-a592-d414129be87e --- 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.11.0