Re: FVWM: unfocusing?

From: Mikhael Goikhman <migo_at_cortext.co.il>
Date: Thu, 1 Jun 2000 01:22:03 +0300

On 30 May 2000 22:45:28 -0500, greg shebert wrote:
>
> in the process of migrating from twm to fvwm i have found that fvwm does
> not seem to have a command equivalent to twm's f.unfocus function...
>
> basically, f.unfocus will cause the window manager to take focus back
> after an application grabs it... this is useful for some misbehaved
> applications that grab focus but don't release it properly...
>
> does fvwm have such function that i am just missing?

I am not aware about a way to request unfocus from fvwm.
But if you really need this feature, here is a function that does this.
Note, NoWarp option of Focus only exists in 2.3.x series.


DestroyFunc Unfocus
AddToFunc Unfocus
+ I None (MyDummyWin) Exec xmessage -name MyDummyWin -g +10000+10000 text
+ I None (MyDummyWin) Wait MyDummyWin
+ I Next (MyDummyWin) FlipFocus NoWarp

Style MyDummyWin WindowListSkip, CirculateHit

Key F5 A CS Unfocus


Regards,
Mikhael.
--
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 Wed May 31 2000 - 17:23:04 BST

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