summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-10-23 14:12:02 +0800
committerPo Lu <luangruo@yahoo.com>2022-10-23 14:13:19 +0800
commita01bd1a208a5199fd1d76baade373f7f12f912a2 (patch)
tree88be876586da2ff2925b9ab3f5201bf6b41263fa /src/xterm.h
parent1dbc2bda58f9534e1fda90ab83f7c278df38da3c (diff)
downloademacs-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.h3
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
{