diff options
| author | Jim Blandy | 1993-06-11 16:20:38 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-11 16:20:38 +0000 |
| commit | 9b37b1c26c4f4aa46aece198382e24b40ec4cc82 (patch) | |
| tree | e1da523a6caed5d8e58f3e88873718df1a59f687 /src | |
| parent | e27c3564f22d969b65dc6b017cc7d02440fcbc0e (diff) | |
| download | emacs-9b37b1c26c4f4aa46aece198382e24b40ec4cc82.tar.gz emacs-9b37b1c26c4f4aa46aece198382e24b40ec4cc82.zip | |
* xrdb.c (get_user_db): Get the screen-specific database too.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xrdb.c | 9 |
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 | ||