mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 04:55:02 -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:
parent
e4e10e494b
commit
0600e8cf75
@ -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)
|
void set_window_background(struct gui_data *inst)
|
||||||
{
|
{
|
||||||
if (inst->area && inst->area->window)
|
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)
|
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)
|
void palette_set(void *frontend, int n, int r, int g, int b)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user