From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel 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 Message-ID: <609798D9-BE01-4F01-8DF8-7F5BBAA4FBB5@swipnet.se> References: <53CE6A44.1010708@gmx.at> <53D4FF76.1060804@gmx.at> <8338dmj1of.fsf@gnu.org> <83wqayhe0o.fsf@gnu.org> <53D542B3.20206@gmx.at> <53D5D618.4070302@yandex.ru> <53D61765.6090705@gmx.at> <53D694FF.906@yandex.ru> <53D7679A.4010005@gmx.at> <53D78504.8090307@yandex.ru> <53D7A928.6050505@gmx.at> <53D7D1DE.8040006@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406654354 16611 80.91.229.3 (29 Jul 2014 17:19:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2014 17:19:14 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 29 19:19:07 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XCB3K-0007kt-Gt for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2014 19:19:06 +0200 Original-Received: from localhost ([::1]:47254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCB3K-0007jp-2u for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2014 13:19:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCB2J-0006Y5-JT for emacs-devel@gnu.org; Tue, 29 Jul 2014 13:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCB2C-0001Ns-MV for emacs-devel@gnu.org; Tue, 29 Jul 2014 13:18:03 -0400 Original-Received: from mailfe07.swip.net ([212.247.154.193]:52003 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCB2C-0001Na-GD for emacs-devel@gnu.org; Tue, 29 Jul 2014 13:17:56 -0400 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 519542837; Tue, 29 Jul 2014 19:17:53 +0200 In-Reply-To: <53D7D1DE.8040006@yandex.ru> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.193 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173266 Archived-At: Hi. 29 jul 2014 kl. 18:54 skrev Dmitry Antipov : > On 07/29/2014 07:42 PM, Jan Dj=E4rv wrote: >=20 >> 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) >>=20 >> sprintf (line, "Emacs*verticalScrollBar.background: grey75"); >>=20 >> 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). >=20 > Found that myself just a few minutes before your e-mail :-(. >=20 > 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.