]> code.delx.au - gnu-emacs/commitdiff
* xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 30 Jul 2014 03:41:56 +0000 (07:41 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 30 Jul 2014 03:41:56 +0000 (07:41 +0400)
necessary, put horizontal scroll bar resources as well.  See
<http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00430.html>.

src/ChangeLog
src/xrdb.c

index fa3afc3da865ddee8884870547db54623664e5de..510b2a836ce393769f5f113735c8e6e01d66a6c5 100644 (file)
@@ -1,3 +1,9 @@
+2014-07-30  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly
+       necessary, put horizontal scroll bar resources as well.  See
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00430.html>.
+
 2014-07-29  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * xrdb.c (x_load_resources) [!USE_MOTIF]: Put horizontal scroll bar
index 55abd9fd30fefcd57c7e3dc343eeff9baa81480e..32ad3c7f01e65caaca4376dcc358565b4d10d684 100644 (file)
@@ -452,6 +452,10 @@ x_load_resources (Display *display, const char *xrm_string,
   XrmPutLineResource (&rdb, line);
   sprintf (line, "%s*verticalScrollBar.troughColor: grey75", myclass);
   XrmPutLineResource (&rdb, line);
+  sprintf (line, "%s*horizontalScrollBar.background: grey75", myclass);
+  XrmPutLineResource (&rdb, line);
+  sprintf (line, "%s*horizontalScrollBar.troughColor: grey75", myclass);
+  XrmPutLineResource (&rdb, line);
   sprintf (line, "%s.dialog*.background: grey75", myclass);
   XrmPutLineResource (&rdb, line);
   sprintf (line, "%s*fsb.Text.background: white", myclass);