emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hint on Xaw3d scroll bar colors issue [Was: Re: Changes in frame/win


From: Jan Djärv
Subject: Re: Hint on Xaw3d scroll bar colors issue [Was: Re: Changes in frame/window code]
Date: Tue, 29 Jul 2014 17:42:22 +0200

Hi.

29 jul 2014 kl. 16:01 skrev martin rudalics <address@hidden>:
> 
> > BTW, x_default_scroll_bar_color_parameter in xfns.c should take horizontal
> > scroll bar into account, isn't it?
> 
> Hmmm...  I missed the build_string ("verticalScrollBar") there.  Could
> that be the cause?  Can you fix it in any case (if I do it, it would be
> yet another exercise in trial and error ...).
> 

The color is read from the X resource database by the Xaw widget library.  The 
resource database is seeded in xrdb.c with (for example)

  sprintf (line, "Emacs*verticalScrollBar.background: grey75");

but when the horizontal scroll bar is created it has the name 
horizontalScrollBar, so no wonder the colors are different.  Adding 
corresponding lines in xrdb.c for horizontalScrollBar should do it (3 places).

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]