Re: FVWM: Access to Client Application Resource Database

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Tue, 07 Dec 1999 09:07:15 -0500

"Leo Deck" <leo_deck_at_hotmail.com> writes:
> I would like for fvwm to be able to recognize clientDecoration and
> clientFunctions resources from an application's resource database and
> provide the appropriate window decorations and functions for the
> application's window. The clientDecoration and clientFunctions resources
> are specified in the application's default resource file. The default
> resource file is located in a directory path (i.e., XAPPLRESDIR) defined in
> the shell script that starts the application, and the directory path is not
> readily available to the window manager.
> XAPPLRESDIR for the user login session that activated fvwm is not the same
> directory path as the XAPPLRESDIR defined in the application startup shell
> script.
>
> For example, if the application's name is app1 and it's class is App1, the
> application-specific default resource file's name would be App1, and the
> resources of interest could be specified in the file App1 in a format as
> follows:
>
> app1*clientDecoration: value
> app1*clientFunctions: value
>
>
> The application resource file does get loaded by the resource manager,
> because the application itself can query the resource database and find the
> clientDecoration and clientFunctions resource specifications. However, this
> resource database does not seem to be available to fvwm.
>
> I realize that I am trying to do something that is probably out of the
> ordinary. Perhaps, it is not possible to do this. Any insight into the
> feasibility or possibility of doing something like this would be
> appreciated.

OK, I'm not an expert on this, but fvwm pays attention to
MOTIF_WM_HINTS. Search for "MWMDecorHints" and "MWMFunctionHints" in
the man page. This may do what you want.

> Leo Deck

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 - 08:08:19 GMT

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