FVWM: Next/Prev question

From: Rouben Rostamian <rostamian_at_umbc.edu>
Date: Tue, 17 Jun 2003 23:35:31 -0400

I am hitting a mental block in reading the section of the fvwm man
page on Conditional Commands.

We read:

    Next [(conditions)] command
        Performs command (typically Focus) on the
        next window which satisfies all conditions.

    Prev [(conditions)] command
        Performs command (typically Focus) on the
        previous window which satisfies all conditions.

My question is: when should I use Next and when should I use Prev
in a script?

For instance, let's consider the following example from the man page:

   AddToFunc MailFunction
    + I Next ($0) Iconify off
    + I Next (AcceptsFocus, $0) focus
    + I None ($0) Exec exec $0 $1

Why is Next used here? Why not Prev? What's the difference?

-- 
Rouben Rostamian <rostamian_at_umbc.edu>
--
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 Jun 17 2003 - 22:38:09 BST

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