X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fpterm.c;h=526e4941195803a93dd9af2f52ecdb95c70e5be2;hb=69303f2d3e815470863808456be37f55947c9522;hp=5254bf374e0ade062ec5ec6ecfe8189c4f99a2dc;hpb=e4e10e494b3ee80e68c84882628d84c2791b1344;p=PuTTY.git diff --git a/unix/pterm.c b/unix/pterm.c index 5254bf37..526e4941 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -386,7 +386,7 @@ static void show_mouseptr(struct gui_data *inst, int show) void draw_backing_rect(struct gui_data *inst) { GdkGC *gc = gdk_gc_new(inst->area->window); - gdk_gc_set_foreground(gc, &inst->cols[18]); /* default background */ + gdk_gc_set_foreground(gc, &inst->cols[258]); /* default background */ gdk_draw_rectangle(inst->pixmap, gc, 1, 0, 0, inst->cfg.width * inst->font_width + 2*inst->cfg.window_border, inst->cfg.height * inst->font_height + 2*inst->cfg.window_border); @@ -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)