Re: FVWM: Re: MouseOver/Focus event handler?

From: Danny Dulai <nirva_at_ishiboo.com>
Date: 15 Feb 2000 14:53:07 -0000

On 12/15/99, Brad Giaccio said:
>On Wed, Dec 15, 1999 at 10:55:53AM -0800, Nadim Saeed wrote:
>> > *FvwmEventPassId
>> > *FvwmEvent focus_change my_focusevent
>> >
>> > DestroyFunc my_focusevent
>> > AddToFunc my_focusevent I WindowId $0 (!FvwmIconMan) AnimatedMove -1150p 0p
>> > + I WindowId $0 (FvwmIconMan) AnimatedMove 0 0
>> >
>> > AddToFunc StartFunction I FvwmEvent
>> >
>>
>> This is beginning to sound very much like an AutoHide command. Could someone
>> familiar enough with the code use the underlying ability noted above and
>> simply its specification and possibly create a true "autohide" command/style ?
>>
>> It was be ideal to see something along the lines of,
>>
>> Style "Fvwm*" AutoHide
>>
>> BTW: this very much relates to PR#466 in the enhancements branch of FVWM's bug
>> tracker.
>>
>
>This is untested but if we the function was changed to
>AddToFunc my_focusevent I WindowId $0 (!$1) AnimatedMove -1150p 0p
>+ I WindowId $0 ($1) AnimatedMove 0 0
>
>and
>*FvwmEvent focus_change my_focusevent FvwmIconMan

I'm trying to add title bars to my windows when they get focus, and remove
them when they leave focus, I have this so far:

*FvwmEvent focus_change my_focusevent
AddToFunc my_focusevent "I" WindowId $0 Style $n Title

Now the title gets added, but I'm not sure how to find out which window was
just unfocused so I can remove the titles. I'm using Sloppyfocus btw.

-- 
___________________________________________________________________________
Danny Dulai                                           Feet. Pumice. Lotion.
http://www.ishiboo.com/~nirva/                            nirva_at_ishiboo.com
--
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 Feb 15 2000 - 08:53:50 GMT

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