[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fvwm
Subject:    Re: FVWM: MouseOver/Focus event handler?
From:       Andreas Scherbaum <adsmail () htl ! de>
Date:       1999-12-17 17:51:01
[Download RAW message or body]

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@fvwm.org.
To report problems, send mail to fvwm-owner@fvwm.org.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic