On 7/17/06, Thomas Adam <[EMAIL PROTECTED]> wrote:
On Mon, Jul 17, 2006 at 03:26:32PM +0100, seventh guardian wrote:
> On 7/17/06, Thomas Adam <[EMAIL PROTECTED]> wrote:
> >On Mon, Jul 17, 2006 at 10:35:15AM +0100, Leon wrote:
> >
> >> Thomas Adam <[EMAIL PROTECTED]> writes:
> >>
> >> > On Sun, Jul 16, 2006 at 05:56:18PM +0100, Leon wrote:
> >> >
> >> >> However it seems it does nothing at all. All the icons still
> >> >> have sticky title. Any ideas?
> >> >
> >> > Of course -- the style "StippledTitleOff" is only applicable to
> >> > non-sticky windows which have been told to use StippledTitle --
> >> > it doesn't work for sticky windows.
>
> Humm first of all this now should be a flag StippledTitle vs
> !StippledTitle. I will correct the man page.

Most commands should be using !Foo in the negatory sense.

> Style only works with window/class names. So there's no easy way of

Name, Class, Resource.

> telling fvwm just to stipple sticky windows. (Like "Style Sticky
> !StippledTitle"). Perhaps this could be done with conditional
> commands, but it's not an easy thing.

How do you mean?  It's perfectly simple to add something like:

Style * StickyStipples
Style * !StickyStipples

... Which might apply to windows which have been declared as sticky.


Yes, but then you'd end up with lots of equal styles applying to
different situations..


> The imediate solution would be
> to add another style to set/reset the StippledTitle flag only on the
> sticky windows, or globally (like Style * NeverStipple) but in my
> oppinion this is wrong..

Maybe it is, but then you can turn that around and say that stippling
sticky windows in the first place is also wrong.

Yes, I did say that :) but it's just my opinion..


> But the long term solution would be to extend the Style command not
> just for window/class names but also for Window states ("Style Icon
> (...)" or "Style Sticky (...)"). Dominik?

I don't like this, since you would probably extend it to include things
like:

Style Shaded (...)
Style HasTitle (...)

It gets too boring, unmanagable, and ultimately wrong.   The stylation
of window *states* (as in the above) just doesn't make logical sense to
me.

It would allow us for instance to use a different color style for
sticky windows, instead of just allowing stippling..

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.

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..

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.



Reply via email to