Commit eb5d618c authored by Jim Blandy's avatar Jim Blandy
Browse files

* 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.
parent b49f5578
......@@ -3756,7 +3756,11 @@ arg XRM_STRING is a string of resources in xrdb format.")
xrm_option = (unsigned char *) 0;
xrdb = x_load_resources (x_current_display, xrm_option, EMACS_CLASS);
#ifdef HAVE_X11R5
XrmSetDatabase (x_current_display, xrdb);
x_current_display->db = xrdb;
x_screen = DefaultScreenOfDisplay (x_current_display);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment