[comp.windows.x.motif] Selected window color

macman@wpi.wpi.edu (Chris Silverberg) (08/28/90)

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... this seems to
be standard at our site, but i'd like to change that color... is there
a way to do it???

Thanks much.

- Chris

 
 ._._._._._._._._._._._._._._._._._._.._._._._._._._._._._._._._._._._._._._.
   Chris Silverberg                     AOL:   Silverberg
   Worcester Polytechnic Institute      GEnie: C.Silverberg
   INTERNET: macman@wpi.wpi.edu         SYSOP: Main Street U.S.A. BBS
   FIDONET:  322/575.1                         508.832.7725  (1200/2400)

dbrooks@osf.org (David Brooks) (08/28/90)

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

just to drive the point home.

Incidentally, I have my own app-defaults directory which is named in
the environment variable XAPPLRESDIR, and the above are in the file
Mwm.  It's a recommended technique to avoid overloading your
.Xdefaults (actually, at R4, use of XUSERFILESEARCHPATH is more
recommended). 
-- 
David Brooks				dbrooks@osf.org
Systems Engineering, OSF		uunet!osf.org!dbrooks