changeset 29865:6b6699c7fce3

(x_load_resources): Add default resource for scroll bar's trough color and main window's background color.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 22 Jun 2000 22:05:37 +0000
parents 507584616639
children c31c4d7dd0e0
files src/xrdb.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xrdb.c	Thu Jun 22 22:05:01 2000 +0000
+++ b/src/xrdb.c	Thu Jun 22 22:05:37 2000 +0000
@@ -542,6 +542,8 @@
      will use some other default font.  */
 #ifdef USE_MOTIF
 
+  sprintf (line, "%s.pane.background: grey75", myname);
+  XrmPutLineResource (&rdb, line);
   sprintf (line, "%s*fontList: %s", myname, helv);
   XrmPutLineResource (&rdb, line);
   sprintf (line, "%s*menu*background: grey75", myname);
@@ -550,6 +552,8 @@
   XrmPutLineResource (&rdb, line);
   sprintf (line, "%s*verticalScrollBar.background: grey75", myname);
   XrmPutLineResource (&rdb, line);
+  sprintf (line, "%s*verticalScrollBar.troughColor: grey75", myname);
+  XrmPutLineResource (&rdb, line);
   sprintf (line, "%s.dialog*.background: grey75", myname);
   XrmPutLineResource (&rdb, line);
   sprintf (line, "%s*fsb.Text.background: white", myname);