Kendrick Vargas <kvarga01_at_fiu.edu> writes:
>
> Hi,
> I'm officially apologizing for spamming this list now if what I am
> about to present has already been discussed. I would also like to say that
> I am no programmer, and I probably won't be one any time in the near
> future... Ok... here's my idea...
>
> I've noticed a proliforation of window managers based on either
> fvwm or fvwm2. There's AfterStep (originally bowman), Enlightenment,
> Fvwm-95... and I'm sure there are others that I haven't even seen or
> thought of...
> I was wondering if maybe it wouldn't be a better idea to make a
> new module called FvwmBorder which would handle decorations and stuff like
> that... Then, you can have the modules recognize a certain file type which
> contains a description of the borders... the way they look ... etc... I
> haven't really played with fvwm2 a whole lot, but I'm thinking you could
> have something like this:
I see no need for an apology. I think this is needed. I was planning on
waiting until after the final 2.0 release came out before diving into this.
I'm not sure that this is best done with a fvwm module though. There's a lot
of back and forth that has to go on between the code that draws the borders,
and the rest of fvwm. It might be best to start off just thinking about it as
a shared library. That way it'll be easiest to begin the process of teasing
out the decoration specific code. Once that's done, if it turns out to be
easily put in a module, then cool.
This also requires rewriting the fvwm style code, and adding the ability to
specify styles that fvwm doesn't even know about. For example, suppose we're
making an fvwm95 module, and that fvwm didn't have miniicons. You're going to
want a way to specify that xterm's get this pixmap, netscape gets that pixmap,
etc. You can either do this by duplicating the style command in the module, or
by extending the style command. But I don't know if we want to add fvwm styles
for everything that every decoration module wants. Perhaps we would just have
to have to classes of styles: builtin fvwm styles which are represented the
current way, and extra styles, which are just strings in a hash table.
--
Brady Montz
bradym_at_cs.arizona.edu
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sun Dec 08 1996 - 10:40:56 GMT