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 19:17:53 +0200

Hi.

29 jul 2014 kl. 18:54 skrev Dmitry Antipov <address@hidden>:

> On 07/29/2014 07:42 PM, Jan Djärv wrote:
> 
>> 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).
> 
> Found that myself just a few minutes before your e-mail :-(.
> 
> Note that Motif build has identical scroll bar colors even without adding
> '*horizontalScrollBar.background: xxx' resource, but Lucid hasn't.  Do you
> have any ideas why it is so?

Motif uses XtDefaultBackground if nothing has been set.  XtDefaultBackground is 
grey75 (mostly).

        Jan D.





reply via email to

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