diff options
| author | Jim Blandy | 1993-03-21 07:24:32 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-03-21 07:24:32 +0000 |
| commit | 6bde6341fef891cab2064ece867e79df1533526d (patch) | |
| tree | 9acb2d750ba19a126a72561d63b26e0aaee53c9f | |
| parent | ec9a76e3d170ca2da59c7075b55b7ce1e8511ab4 (diff) | |
| download | emacs-6bde6341fef891cab2064ece867e79df1533526d.tar.gz emacs-6bde6341fef891cab2064ece867e79df1533526d.zip | |
* 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.
| -rw-r--r-- | src/xterm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index 54a495d7bb0..05bae039844 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -67,6 +67,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 67 | #define HAVE_X11R4 | 67 | #define HAVE_X11R4 |
| 68 | #endif | 68 | #endif |
| 69 | 69 | ||
| 70 | #ifdef XlibSpecificationRelease | ||
| 71 | #if XlibSpecificationRelease >= 5 | ||
| 72 | #define HAVE_X11R5 | ||
| 73 | #endif | ||
| 74 | #endif | ||
| 75 | |||
| 70 | #define PIX_TYPE unsigned long | 76 | #define PIX_TYPE unsigned long |
| 71 | #define XDISPLAY x_current_display, | 77 | #define XDISPLAY x_current_display, |
| 72 | #define XFlushQueue() XFlush(x_current_display) | 78 | #define XFlushQueue() XFlush(x_current_display) |