Re: FVWM: Intricacies of the Next() function / Conditionals

From: Nicholas Paul Johnson <nickjohnson_at_virginia.edu>
Date: Sat, 1 May 2004 13:18:46 -0400 (EDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mikhael et al,

Thanks for the response. I appologize for my earlier impatience.

On Sat, 1 May 2004, Mikhael Goikhman wrote:
>
> If you use MouseFocus this does quite not work, since you just get the
> window under the pointer (or no window) focused. This is what MouseFocus
> is all about.
>
I use MouseFocus.

I want more than just the Focus; I want the desk to switch automatically
to the newly focused window. The Focus function will do this (and even
move the mouse over the top left corner of the window; perhaps a
consequence of MouseFocus), but the SloppyFocus feature will not.

>
> As for your Next command question, try this command:
>
> Prev (CurrentDesk, !Sticky) Focus
>
This is good. Is there any way to have it execute some statement if there
is no window on the CurrentDesk which is not Sticky? Specifically, can I
tell fvwm to try to focus one on the current desk, and only if there is no
window on the CurrentDesk, focus one on /any/ desk?

>
> Take a look at FvwmEvent module, it does what you want.
>
> Just don't use both methods simultaneously, chose either "smart" close
> button, or "smart" close event.
>
Good call. This is exactly the answer to my second question.

Thanks a lot,
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Nicholas Paul Johnson
  o nickjohnson \at\ virginia \dot\ edu
  o 3ebf10a7 subkeys.pgp.net
  o http://manjac.ath.cx/nick
  o "When all you've got is a hammer,
    everything looks like a nail.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQFAk9v8fnGNDj6/EKcRAoCZAJoDDWZBwMpl+rT6gfzSdxTvMAmnEACff8wa
sTyKZE/VocMKZzvoVTKmHR0=
=170x
-----END PGP SIGNATURE-----


--
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 Sat May 01 2004 - 13:27:21 BST

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