aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index cf55cc6c3e1..8d411508dcd 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3756,7 +3756,11 @@ arg XRM_STRING is a string of resources in xrdb format.")
3756 else 3756 else
3757 xrm_option = (unsigned char *) 0; 3757 xrm_option = (unsigned char *) 0;
3758 xrdb = x_load_resources (x_current_display, xrm_option, EMACS_CLASS); 3758 xrdb = x_load_resources (x_current_display, xrm_option, EMACS_CLASS);
3759#ifdef HAVE_X11R5
3760 XrmSetDatabase (x_current_display, xrdb);
3761#else
3759 x_current_display->db = xrdb; 3762 x_current_display->db = xrdb;
3763#endif
3760 3764
3761 x_screen = DefaultScreenOfDisplay (x_current_display); 3765 x_screen = DefaultScreenOfDisplay (x_current_display);
3762 3766