Re: FVWM: Problems with special application mapppings

Dan Espen <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
Klaus Ethgen <[email protected]> writes:

> Hi,
>
> Am Do den 21. Mär 2019 um 21:53 schrieb Jaimos Skriletz:
>> On Thu, Mar 21, 2019 at 2:40 PM Klaus Ethgen <[email protected]> wrote:
...
>> From the man page:
>> 
>> A '--' action indicates that the event should be propagated to
>> the specified window to handle.  This is only a valid action for
>> window-specific bindings.

As far as I can tell, that reference to '--' in the man page
is an error, there is no such option.
I'm having trouble understanding the second sentence so I can't be sure
if '--' is a typo for '-'.

I checked the source, fvwm/bindings.c.
Unless it's very well hidden, it doesn't parse anything like '--'.
The closest it gets is:

	if (
		action == NULL || *action == 0 ||
		(action[0] == '-' && !is_pass_through))
	{
		is_unbind_request = True;
	}

Basically, it sees the first character of the next action
and turns on is_unbind_request.  So, if the arg was
'--' it would still do the unbind.


-- 
Dan Espen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.