On 7/17/06, Thomas Adam <[EMAIL PROTECTED]> wrote:
On Mon, Jul 17, 2006 at 04:01:36PM +0100, seventh guardian wrote:
> Yes, but then you'd end up with lots of equal styles applying to
> different situations..
I don't see how -- it still only applies to a specific group of windows
(or a specific window, depending on the style used.)
> It would allow us for instance to use a different color style for
> sticky windows, instead of just allowing stippling..
You can do this with FvwmEvent -- although currently you can't turn the
stipples off.
> It would allow setting different colors to the iconified windows. This
> currently can only be done with the use of colorsets, which I belive
> is a broken behaviour.
Do you? An icon is just another window -- giving it its own colorset
makes sense to me.
Of course, but you need to use IconTitleColorset, instead of just
TitleColorset. As you can see, we have two commands for the same
purpose, except for diferent situations (iconic and normal windows).
On the other hand, BackColor and ForeColor apply to both situations.
So you can only set a specific icon color if using a colorset, and
never directly like you do to a window. This is why I believe the
behaviour is broken.
> And the list goes on. It's a flexible solution that follows the same
> philosophy that was behindreplacing all sorts of old fvwm commands
> with their Style counterpart..
Maybe -- I just think it adds too much verbosity. I'd much rather more
work was done to look into the following idiom:
Style (name=foo, class=Foo) Stick
... Which currently has its own branch in the FVWM CVS, but obviously
breaks any compatibility with the way current style lines are parsed.
The above is something I'd prefer to see, above and beyond changing the
style states for different windows.
I like this aproach. But it would be more clear if was something like:
Style (name=foo | class=foo) Stick
Style (name=foo & class=foo) Stick
The comma is a bit ambiguous.. at least for a C programmer ;)
I guess these two ways of parsing could eventually be merged.
But this idiom doesn't add anything new, it just organizes the way
style works. It could be extended in the same way to accept window
states as an argument:
Style (name=foo & winstate=iconic)
Cheers,
Renato
-- Thomas Adam
--
"If I were a witch's hat, sitting on her head like a paraffin stove, I'd
fly away and be a bat." -- Incredible String Band.