From 06bbf618699ec5166f4924ed2d0f2e06e2984c5d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 22 Jun 2000 22:05:37 +0000 Subject: [PATCH] (x_load_resources): Add default resource for scroll bar's trough color and main window's background color. --- src/xrdb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrdb.c b/src/xrdb.c index 72d4deab3a5..82603c75fed 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -542,6 +542,8 @@ x_load_resources (display, xrm_string, myname, myclass) 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 @@ x_load_resources (display, xrm_string, myname, myclass) 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); -- 2.39.2