aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xrdb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index 19ca21f9e02..6a769e3aa6c 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -314,6 +314,15 @@ get_user_db (display)
314 db = XrmGetFileDatabase (xdefault); 314 db = XrmGetFileDatabase (xdefault);
315 } 315 }
316 316
317#ifdef XlibSpecificationRelease
318#if XlibSpecificationRelease >= 5
319 /* Get the screen-specific resources too. */
320 xdefs = XScreenResourceString (DefaultScreenOfDisplay (display));
321 if (xdefs != NULL)
322 XrmMergeDatabases (XrmGetStringDatabase (xdefs), &db);
323#endif
324#endif
325
317 return db; 326 return db;
318} 327}
319 328