[comp.windows.x.motif] mwm resources

david@ics.com (David B. Lewis) (08/29/90)

In article <1990Aug28.175600.10665@ics.com>,
swrinde!zaphod.mps.ohio-state.edu!usc!snorkelwacker!paperboy!osf.org!dbr
rooks@ucsd.edu  (David Brooks) writes:
|> In article <14679@wpi.wpi.edu>, macman@wpi.wpi.edu (Chris Silverberg)
writes:
|> |> In using motif, I see around me people have many differnt colors,
|> backgrounds,
|> |> and characteristics of their own setup. BUT, the selected window,
or
|> the
|> |> active window, is always highlighed as an aqua-green color... 
|> 
|> You need to change an mwm resource.  You can add the following to
your
|> .Xdefaults:
|> 
|> Mwm*activeBackground:		puce
|> 
|> I also use:
|> 
|> Mwm*title*activeBackground:	red3
|> Mwm*title*activeForeground:	white

Note that the ORDER of these resources is important; because of a
mishandling
of resources in a common routine (dbrooks: in
WmResources.c:_WmGetDynamicDefault)
the background resources should be set first. [They wind up setting
local static
data correctly; if foreground is set first, it chooses incorrect
defaults.]

[Comments apply to Motif 1.0.3.]


--
David B. Lewis  david@ics.com  david%ics.UUCP@bu.edu 
...!uunet!ics.com!david
	UNIX - some assembly required.