Re: FVWM: Negative conditions for Next & Prev

From: Charles Hines <chuck_hines_at_VNET.IBM.COM>
Date: Tue, 16 Jul 1996 09:11:51 -0400

>>>>> "Douglas" == Douglas K Rand <rand_at_aero.und.edu> writes:

Douglas> I've patched fvwm-2.0.43 to handle negative conditions with a
Douglas> leading '!' character. I use

Douglas> Next [!Iconic CurrentDesk CurrentScreen !Fvwm*] Focus

Douglas> in my .fvwmrc to move to cycle through the windows on the
Douglas> current screen. The "!Fvwm*" part is what ignores all windows
Douglas> with a name, class, or resource matching "Fvwm*". I'd rather
Douglas> use the "go to the next window ignoring these windows" style
Douglas> instead of "go to the next window with a name like ____."

Makes sense.

Douglas> I managed to resist the temptation to put in complete regular
Douglas> expressions, as that would break the documented behavior of
Douglas> Next and Prev. Instead, I simply expanded the already
Douglas> existing '!' convention to window names.

Good idea (for the time being at least).

Douglas> The patch isn't the prettiest. Perhaps I should have included
Douglas> misc.h which would have gotten me the NoClass and NoResource
Douglas> variables to use instead of the literal strings.

That would have been better, yes.

Douglas> I hope others will enjoy this patch.

A variant of this might make it into 2.1.0, since it should be
relatively harmless and rather useful.

Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Jul 16 1996 - 09:03:34 BST

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