diff options
author | Alexander Gramiak <agrambot@gmail.com> | 2019-04-13 08:59:07 -0600 |
---|---|---|
committer | Alexander Gramiak <agrambot@gmail.com> | 2019-04-13 20:34:09 -0600 |
commit | 480a22c9340cc5f5c2eca67685b72135412192d0 (patch) | |
tree | 704ab47f36db0affdd10c315b3cf0515a199ae2b /src/xterm.h | |
parent | e7c3d39925dea5e69f9880b6f5609755f34b9d52 (diff) | |
download | emacs-480a22c9340cc5f5c2eca67685b72135412192d0.tar.gz |
Add terminal hook defined_color_hook
* src/termhooks.h (defined_color_hook): New terminal hook.
* src/xterm.c:
* src/nsterm.m:
* src/term.c:
* src/w32term.c: Set defined_color_hook.
* src/nsterm.m (ns_defined_color_hook): New hook wrapper procedure.
* src/xfaces.c: Use defined_color_hook.
(defined_color): Remove.
* src/image.c (image_defined_color): New wrapper procedure for NS.
Remove redefinitions of x_defined_color, and rename x_defined_color to
image_defined_color.
Diffstat (limited to 'src/xterm.h')
-rw-r--r-- | src/xterm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h index 637ff2fd502..84a478dbd2c 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -1251,7 +1251,7 @@ extern void destroy_frame_xic (struct frame *); extern void xic_set_preeditarea (struct window *, int, int); extern void xic_set_statusarea (struct frame *); extern void xic_set_xfontset (struct frame *, const char *); -extern bool x_defined_color (struct frame *, const char *, XColor *, bool); +extern bool x_defined_color (struct frame *, const char *, XColor *, bool, bool); #ifdef HAVE_X_I18N extern void free_frame_xic (struct frame *); # if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT |