Re: Conditional's criteria

2002-09-21 Thread Rastislav Galia

 
 WindowId is available in 2.2.x, but in 2.4.x you may pass conditions.
 And in 2.5.x you may pass Focused among others:
 
   WindowId 0x2ed (Focused, !Maximized) ...
 
 So, I move this to existing enh..
 

Before I do so, I want to clarify that there is a difference between

WindowId 0x2ed (...) ...

and

Next/*or whatevet*/ (0x2ed) ...

I know first option is available, but second option is 
not in 2.4.x documentation, so I didn't try it.
What did you by mean 'you can pass condition'. Is it this second way ? 
Then I change my proposal to 'include in documentation' ... :-)))

/Rastjo

--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Conditional's criteria

2002-09-21 Thread Mikhael Goikhman
On 21 Sep 2002 09:06:18 +0200, Rastislav Galia wrote:
 
 Mikhael Goikhman wrote:
  
  WindowId is available in 2.2.x, but in 2.4.x you may pass conditions.
  And in 2.5.x you may pass Focused among others:
  
WindowId 0x2ed (Focused, !Maximized) ...
  
  So, I move this to existing enh..
 
 Before I do so, I want to clarify that there is a difference between
 
 WindowId 0x2ed (...) ...
 
 and
 
 Next/*or whatevet*/ (0x2ed) ...
 
 I know first option is available, but second option is 
 not in 2.4.x documentation, so I didn't try it.

The second syntax does not match the window id, the first does. Think
about this (supposing FvwmEvent calls a function with a window id param):

  Next(XTerm, !Iconic) Iconify
  WindowId $0 (XTerm, !Iconic) Iconify

The first operates on a random xterm, the second - on the one that
triggers the event.

 What did you by mean 'you can pass condition'. Is it this second way ? 
 Then I change my proposal to 'include in documentation' ... :-)))

The condition is what is in parentheses. In 2.2.x, WindowId did not accept
parentheses. I don't see anything that is not documented.

What is the task you want to achieve using conditional commands?

Regards,
Mikhael.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Conditional's criteria

2002-09-20 Thread Mikhael Goikhman
On 20 Sep 2002 17:47:35 -0500, [EMAIL PROTECTED] wrote:
 
 Message summary for PR#924
   From: [EMAIL PROTECTED]
   Subject: Conditional's criteria
 
 Full_Name: Rastislav Galia
 Version: 2.4.9
 
 
 Degree of freedom in configuring Fvwm would be increased a lot by
 introducing following criteria to conditional statements :
 
 Focused, for exaplme ThisWindow (Focused) ..., meaning command is
 performed
 only in case ThisWindow == Current

This is already available in 2.5.0+:

  ThisWindow (Focused) ...

 Window ID, for example Current (ID:0x2ed) ..., meaning command is
 performed only in case focused window has Window ID 0x2ed

WindowId is available in 2.2.x, but in 2.4.x you may pass conditions.
And in 2.5.x you may pass Focused among others:

  WindowId 0x2ed (Focused, !Maximized) ...

So, I move this to existing enh..

Regards,
Mikhael.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]