On Thu, Jan 31, 2002 at 01:58:40PM +0100, Olivier Chapuis wrote:
> On Thu, Jan 31, 2002 at 03:31:19AM +0100, Dominik Vogt wrote:
> > With my latest changes, it's possible to implement autohiding
> > using FvwmEvent with the enter_window/leave_window events, the
> > Schedule command and the State command.  This example uses
> > WindowShade to hide two windows called "FvwmButtons" and
> > "XMessages" automatically.  If title button 8 is pressed (sorry,
> > no visual feedback yet), the window is locked in unhidden state.
> > This should work with any focus policy.
> > 
> > What I like especially about this it that it was trivial to
> > implement (the C code, not the complex functions).
> > 
> > Any comments?
> >
> 
> I begun to try this. Your example work fine here.
> So, I try to modify it for my need.
> I get a core dump with:

Ill look into this later.

[snip]

> If I remove "+ I Deschedule $0" I've no more a core dump
> (I am not sure that this deschedule is useful)

But it is!  Without that, you can get a race condition between the
scheduled hiding and immediate unhiding.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to