From: Gerd Moellmann Date: Thu, 22 Jun 2000 22:05:37 +0000 (+0000) Subject: (x_load_resources): Add default resource for scroll bar's X-Git-Tag: emacs-pretest-21.0.90~3133 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06bbf618699ec5166f4924ed2d0f2e06e2984c5d;p=emacs.git (x_load_resources): Add default resource for scroll bar's trough color and main window's background color. --- 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);