diff options
author | Po Lu <luangruo@yahoo.com> | 2022-10-23 14:12:02 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-10-23 14:13:19 +0800 |
commit | a01bd1a208a5199fd1d76baade373f7f12f912a2 (patch) | |
tree | 88be876586da2ff2925b9ab3f5201bf6b41263fa /src/xterm.h | |
parent | 1dbc2bda58f9534e1fda90ab83f7c278df38da3c (diff) | |
download | emacs-a01bd1a208a5199fd1d76baade373f7f12f912a2.tar.gz emacs-a01bd1a208a5199fd1d76baade373f7f12f912a2.tar.bz2 emacs-a01bd1a208a5199fd1d76baade373f7f12f912a2.zip |
Reduce duplicate code for creating "special windows"
* src/xterm.c (x_create_special_window): Define on all non-GTK
builds and all builds with XFixes.
(x_update_frame_user_time_window): Use x_create_special_window.
Also write a comment explaining what user time windows are.
* src/xterm.h: Fix style of `x_parse_color' prototype.
Diffstat (limited to 'src/xterm.h')
-rw-r--r-- | src/xterm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xterm.h b/src/xterm.h index 0f00dc42f79..2967d105ea2 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -295,8 +295,7 @@ struct xi_device_t }; #endif -Status x_parse_color (struct frame *f, const char *color_name, - XColor *color); +extern Status x_parse_color (struct frame *, const char *, XColor *); struct x_failable_request { |