On Fri, Mar 24, 2006 at 06:32:18PM +0100, Viktor Griph wrote: > Hi, > > does it exist any standard regulating the use of XResources? The reason I > ask is that I recently found out that fvwm honors the resources Desk, Page > and fvwmscreen for initial window positioning, and I find them quite neat > to use together with apps supporting the -xrm option. > > I think that it would be good with a way to specify a style with > resources in a similar way. The idea was that under AddWindow, before > lookup_styles, add a resource lookup for some resource, say fvwmstyle, > and if present map it to a WindowStyle command with rhe resource value as > the style.
> All in all it comes down to two questions: > Would adding such a resource break any standard? I don't think so. > and > Is the feature described above something that should be added to fvwm? I think it's a good idea, but I wouldn't export the style syntax to the X resources. Instead, it should just add the style name to use for the application, i.e. (wahtever the correct syntax is). -xrm "fvwmstyle: foobar" would tell fvwm to use the style "foobar" for the application (instead of the application name). This way, the whole configuration is still in the config file and there is no need to allocate styles dynamically (which is slow and potentially buggy). Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature