changeset 2300:dfef2f43f4bf

* xfns.c (Fx_open_connection): If we have X11R5, use XrmSetDatabase to set the display's database. In older versions, just store the value into x_current_display->db. * xterm.h (HAVE_X11R5): Define this where appropriate.
author Jim Blandy <jimb@redhat.com>
date Sun, 21 Mar 1993 07:24:32 +0000
parents 53abb56a18fa
children 1380ea427dee
files src/xterm.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.h	Sun Mar 21 07:04:44 1993 +0000
+++ b/src/xterm.h	Sun Mar 21 07:24:32 1993 +0000
@@ -67,6 +67,12 @@
 #define HAVE_X11R4
 #endif
 
+#ifdef XlibSpecificationRelease
+#if XlibSpecificationRelease >= 5
+#define HAVE_X11R5
+#endif
+#endif
+
 #define PIX_TYPE unsigned long
 #define XDISPLAY x_current_display,
 #define XFlushQueue() XFlush(x_current_display)