On Mon, May 29, 2000 at 05:58:55PM -0700, Arya Behzad wrote:
> Hi Domink,
>
> Thank again. Your suggestion works. One (hopefully!) last question on this
> subject...
>
> Is there a way to show windows with certain "ID" AND others with a different ID
> displayed? In other words, if I want the windows with identifier = "Cadence" AND
> windows with ID="xterm" to show up (such that the windowlist includes both such
> entries), would that be possible? I tried the obvious
> windowlist (xterm* Cadence*)
> windowlist (xterm* && Cadence*)
> windowlist (xterm* || Cadence*)
No, conditions can have only one string argument at the moment.
There is a workaround, but it won't work if you're using other
modules that list windows (e.g. FvwmIconMan):
Style * WindowListSkip
Style xterm* WindowListHit
Style Cadence* WindowListHit
The first line prevents any windows from showing up in the
window list, the second and the third make xterm and
Cadence appear again. Now you can simply invoke the window
list with
WindowList
The drawback is that these styles also apply to many
modules, e.g. FvwmWinList, FvwmTaskBar, FvwmIconMan, ...
I.e. other windows won't show up in these modules either.
Well, you could write a function that switches these styles
before the window list is invoked:
AddToFunc NormalWLSkip
+ i Style * WindowListHit
+ i Style FvwmIconMan WindowListSkip
+ i Style FvwmButtons WindowListSkip
AddToFunc SpecialWLSkip
+ i Style * WindowListSkip
+ i Style rxvt* WindowListHit
+ i Style Cadence* WindowListHit
+ i UpdateStyles
AddToFunc MyWindowList
+ i SpecialWLSkip
+ i WindowList $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
+ i NormalWLSkip
Now invoke it with
MyWindowList
Because I just coded the UpdateStyles command, this will not
work before the next beta release (2.3.19) or development snapshot
is available.
Bye
Dominik ^_^
--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Mon May 29 2000 - 20:23:51 BST