mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Bah, there's always one thing I miss. Correct the background-colour
handling in Unix PuTTY. [originally from svn r4918]
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user