Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!decwrl!ucbvax!ics.com!david From: david@ics.com (David B. Lewis) Newsgroups: comp.windows.x.motif Subject: mwm resources Message-ID: <9008291643.AA04620@BU.EDU> Date: 29 Aug 90 16:28:06 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 41 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.