On Fri, 2 Sep 2011, Thomas Adam wrote:
I'll simplify this a little. Let's say you did this:
Style xclock !A, B
Options "A" and "B" would apply to xclock. They're logically ORed together.
Such that when you do this:
Style xclock A
Going from ¬A to A results in this:
Style xclock A, B
Because the flag for "B" on xclock had already been set. You were just
flipping the bit for the state of "A" which had already been applied.
I thought that at last I got THE explanation, as that sounded very logic,
but alas, it's not true for me, as it doesn't fit with the other test I did:
First, I checked that the default is "Title", as without any Style,
all windows get a title.
Now, let me explain the next test:
- Current setting:
Style "xclock" NoTitle
The running instance of xclock has no title, and is not sticky.
- I replace the Style by
Style "xclock" Sticky
Then: restart in fvwm. Result:
my xclock window get immediatly a title, but it is NOT sticky
This proves that:
1/ although there is no Title param, the previous value(NoTitle)
is not kept, but reverts to the default(Title)
2/ the Sticky flag is not applied
Can the differences in behaviuor come from the Linux distrib?
Which one are you using?
--
Pierre Frenkiel