Re: FVWM: Flickering of buttons and mouse focus

From: Tom Alsberg <alsbergt_at_zoopee.org>
Date: Tue, 16 Apr 2002 13:47:48 +0300

On Mon, Apr 15, 2002 at 09:47:15PM +0000, Mikhael Goikhman wrote:
> On 15 Apr 2002 19:52:16 +0300, Tom Alsberg wrote:
> <snip />
> >
> > # For auto-raise:
> > *FvwmEvent: enter_window "Silent SelectiveRaise"
> > *FvwmEvent: leave_window "Silent SelectiveLower"
> >
> > # Functions to auto-raise / auto-lower only some specific windows:
> > DestroyFunc SelectiveRaise
> > AddToFunc SelectiveRaise
> > + I WindowId $0 (!raised "FvwmIconMan") Raise
> > + I WindowId $0 (!raised "FvwmButtons") Raise
> > + I WindowId $0 (!raised "xclock") Raise
> > + I WindowId $0 (!raised "xexec") Raise
> >
> > DestroyFunc SelectiveLower
> > AddToFunc SelectiveLower
> > + I WindowId $0 (raised "FvwmIconMan") Lower
> > + I WindowId $0 (raised "FvwmButtons") Lower
> > + I WindowId $0 (raised "xclock") Lower
> > + I WindowId $0 (raised "xexec") Lower
> >
> > <snip />
>
> The lines are ok except of one missing line that you certainly use:
>
> *FvwmEvent: PassId

Oh, yes... I do have that line... I just forgot to quote it...

> The problem with FvwmEvent working on enter_window/leave_window is that
> these events are sent when you enter/leave small subwindows too, gtk+
> widgets included.

I'm not experienced in this, but isn't there a way to avoid this? I
mean, like disregarding windows not managed by FVWM (I assume FVWM
doesn't manage those small subwindows), or the like?

Also, I don't think this should affect it... Since I'm applying the
Lower and Raise actions in the SelectiveLower/SelectiveRaise functions
only on 4 specific windows...

> <snip />
> I also sometimes experienced flickering of the pager labels forever when
> using enter_window/leave_window together with Schedule, but now when I
> tried hard, I can even sometimes reproduce this with your config above too.

Yeah, that happens to me sometimes also...

> It seems that FvwmEvent with enter_window/leave_window (probably when
> using actions other than Raise/Lower too) is problematic, don't use
> it.

I suppose since those events exist, they should be somehow usable...
Well, do you have any idea how otherwise I can do what I'm trying to
do? (I was told that's what I should use when FVWM 2.5 was started on
a thread where I asked about it...)

> I suggest to continue to discuss this on fvwm-workers list.
OK...

> Regards,
> Mikhael.

  Thank you, best regards,
  -- Tom

-- 
  Tom Alsberg - certified insane, complete illiterate.
        e-mail: <alsbergt_at_softhome.net>
	Homepage: http://www.cs.huji.ac.il/~alsbergt/
  * An idea is not responsible for the people who believe in it.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Apr 16 2002 - 05:51:37 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST