* 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.
This commit is contained in:
parent
ec9a76e3d1
commit
6bde6341fe
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
#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)
|
||||
|
|
Loading…
Add table
Reference in a new issue