Re: FVWM: Access to Client Application Resource Database

From: Fuzzy Fox <fox_at_foxtaur.com>
Date: Tue, 7 Dec 1999 10:31:36 -0600

Dan Espen <dane_at_mk.telcordia.com> wrote:
>
> What do you want fvwm to do to your application?
>
> Fvwm doesn't normally muck around with X resources, there are tools
> like editres for that.

Other window manglers, such as MWM, will notice certain resources in the
client's database, and react to them. Back when I used to use MWM, I
had these sorts of resource settings:

    *oclock.clientDecoration: none
    *xconsole.clientDecoration: none
    *phone.clientDecoration: -maximize -resizeh
    *xbiff.clientDecoration: border
    *xclock.clientDecoration: border
    *XLoad.clientDecoration: border
    *xpostage.clientDecoration: border
    mwm*iconbox*clientDecoration: menu resizeh minimize

FVWM doesn't pay attention to these; it uses the "Style" directive,
which can be sensitive to the same sorts of resource names as the
application uses, so it is often possible to get the same effects,
although there is no "resource tree" capability.

I was never taught why the above worked, but just did it. Now that I
look it over and think about it, I think the wildcards at the start of
the resource string allowed the setting to appear in MWM's resource
database, where it can pick them up.

But I dunno. Been using FVWM too long now. :)

-- 
   fox_at_foxtaur.com (Fuzzy Fox)     || "Good judgment comes from experience.
sometimes known as David DeSimone  ||  Experience comes from bad judgment."
  http://www.dallas.net/~fox/      ||                 -- Life Lessons
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Dec 07 1999 - 10:32:10 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST