Commit 9b37b1c2 authored by Jim Blandy's avatar Jim Blandy

* xrdb.c (get_user_db): Get the screen-specific database too.

parent e27c3564
......@@ -314,6 +314,15 @@ get_user_db (display)
db = XrmGetFileDatabase (xdefault);
#ifdef XlibSpecificationRelease
#if XlibSpecificationRelease >= 5
/* Get the screen-specific resources too. */
xdefs = XScreenResourceString (DefaultScreenOfDisplay (display));
if (xdefs != NULL)
XrmMergeDatabases (XrmGetStringDatabase (xdefs), &db);
return db;
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