Re: FVWM: MouseOver/Focus event handler?

From: Andreas Scherbaum <adsmail_at_htl.de>
Date: Fri, 17 Dec 1999 18:51:01 +0100

Tim Phipps wrote:
> > > *FvwmEventPassId
> > my manpage doesnt have this option?
>
> You need at least version 2.3.0 of fvwm2 for this. If you do then maybe
> your man pages aren't installed correctly or you MANPATH is wrong.
Ok.


> > > *FvwmEvent focus_change my_focusevent
> > i'm using a similar config but fvwm needs 1 - 1,5 seconds to give
> > the focus back to the actual window.
> > If i'm moving the mouse, the actual window gets the focus immediatly.
> > Any hints?
> >
> I don't understand you problem. Could you send the relevant parts of you
> config? FvwmEvent has a delay option (*FvwmEventDelay), have you set
> this?

----- cut -----
Style "FvwmPager" NoTitle, NoHandles, Sticky, WindowListSkip,
BorderWidth 0, NakedTransient
Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip,
BorderWidth 5, StaysOnTop
Style "FvwmButtons" SloppyFocus
*FvwmButtons(2x1 Swallow "FvwmPager" "FvwmPager 0 0")
*FvwmEvent focus_change "function showhidebuttons"

AddToFunc showhidebuttons
 + "I" prev (CirculateHit FvwmButtons) Move -1019p -698p
 + "I" current (FvwmButtons) Raise
 + "I" current (FvwmButtons) Move +0p +0p
----- cut -----

This will put the pager in fvwmbuttons on the left top corner (on my
1024x768).
If the pager isnt active, only a few pixels will be visible.
Moving the mouse over the pager moves full pager on the desktop.
Now my problem: if fvwm2 changes the focus, the mouse cursor sometimes
is around a second busy.
No input is possible.
Has anyone a idea?


Regards

-- 
                                  ads
                                  Andreas Scherbaum
--
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 Fri Dec 17 1999 - 11:51:21 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST