зеркало из https://github.com/github/putty.git
Another default-background fix for 256-colour mode
[originally from svn r4931]
This commit is contained in:
Родитель
7e7aec0ca4
Коммит
4cb0ead447
|
@ -386,7 +386,7 @@ static void show_mouseptr(struct gui_data *inst, int show)
|
||||||
void draw_backing_rect(struct gui_data *inst)
|
void draw_backing_rect(struct gui_data *inst)
|
||||||
{
|
{
|
||||||
GdkGC *gc = gdk_gc_new(inst->area->window);
|
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,
|
gdk_draw_rectangle(inst->pixmap, gc, 1, 0, 0,
|
||||||
inst->cfg.width * inst->font_width + 2*inst->cfg.window_border,
|
inst->cfg.width * inst->font_width + 2*inst->cfg.window_border,
|
||||||
inst->cfg.height * inst->font_height + 2*inst->cfg.window_border);
|
inst->cfg.height * inst->font_height + 2*inst->cfg.window_border);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче