summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 9e51ddf6429..9560d27a124 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -7159,6 +7159,7 @@ w32_create_terminal (struct w32_display_info *dpyinfo)
terminal->update_end_hook = w32_update_end;
terminal->read_socket_hook = w32_read_socket;
terminal->frame_up_to_date_hook = w32_frame_up_to_date;
+ terminal->defined_color_hook = w32_defined_color;
terminal->mouse_position_hook = w32_mouse_position;
terminal->get_focus_frame = w32_get_focus_frame;
terminal->focus_frame_hook = w32_focus_frame;
@@ -7261,8 +7262,8 @@ w32_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
/* initialize palette with white and black */
{
XColor color;
- w32_defined_color (0, "white", &color, 1);
- w32_defined_color (0, "black", &color, 1);
+ w32_defined_color (0, "white", &color, true, false);
+ w32_defined_color (0, "black", &color, true, false);
}
#ifdef WINDOWSNT