From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov 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 20:54:54 +0400 Message-ID: <53D7D1DE.8040006@yandex.ru> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406652956 31387 80.91.229.3 (29 Jul 2014 16:55:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2014 16:55:56 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: =?windows-1252?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 29 18:55:46 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 1XCAgi-0004rY-Bm for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2014 18:55:44 +0200 Original-Received: from localhost ([::1]:47135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCAgi-00078D-3H for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2014 12:55:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCAgW-00076v-4T for emacs-devel@gnu.org; Tue, 29 Jul 2014 12:55:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCAgN-0002lg-7n for emacs-devel@gnu.org; Tue, 29 Jul 2014 12:55:32 -0400 Original-Received: from forward5l.mail.yandex.net ([2a02:6b8:0:1819::5]:33714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCAgM-0002lb-Rv for emacs-devel@gnu.org; Tue, 29 Jul 2014 12:55:23 -0400 Original-Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward5l.mail.yandex.net (Yandex) with ESMTP id 08361C43A6B; Tue, 29 Jul 2014 20:55:13 +0400 (MSK) Original-Received: from smtp3o.mail.yandex.net (localhost [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 6C3131E2756; Tue, 29 Jul 2014 20:55:13 +0400 (MSK) Original-Received: from 165.gprs.mts.ru (165.gprs.mts.ru [213.87.132.165]) by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id nHzrm5wG3J-tBVG8Zm2; Tue, 29 Jul 2014 20:55:12 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 1ab72de9-5636-489f-8390-0cd430b65105 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1406652912; bh=IOOq7G4KyHu1kex42n+nRQcONSX996TDsQ9VhNHXgic=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=HOn07LrUEINC02fayBipn5yvLa+MSP/tuTI/D4Re+sFzSqj1wrYs1wW4zeZqBZVia kXhzNb89e2mZNcO5JXau/C7Hu94UExuJ7hoZo0V6MnkmFXNhdGCvihJceVtApRpawA WlVsY8HlikPt2o72uk8HrVszKB/nMxF187NmWmnk= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a02:6b8:0:1819::5 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:173263 Archived-At: On 07/29/2014 07:42 PM, Jan Dj=E4rv wrote: > The color is read from the X resource database by the Xaw widget librar= y. > 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 horizonta= lScrollBar, > so no wonder the colors are different. Adding corresponding lines in x= rdb.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 yo= u have any ideas why it is so? Dmitry