Re: Followup to: FVWM: Slow focus changes

From: Ke Huang <kh6_at_cec.wustl.edu>
Date: Wed, 23 Jun 1999 12:30:22 -0500 (CDT)

On Wed, 23 Jun 1999, Mark Anderson wrote:

>> On Thu, Jun 17, 1999 at 09:02:16PM -0500, kh6_at_cec.wustl.edu wrote:
>> > On Thu, 17 Jun 1999, Mark Anderson wrote:
>> >
>> > >AddToFunc Circ
>> > >+ "I" Focus
>> > >+ "I" Raise
>> > >
>> >
>> > This is because you would be better off using
>> >
>> > AddToFunc Circ "I" Focus
>> > + "I" Raise
>> >
>> > or if you are fussy about style (like I am)
>> >
>> > AddToFunc \
>> > "I" Focus
>> > + "I" Raise
>> >
>> > Either of these should fix your problem.
>>
>> Why?
>>
>> Dominik
>>
>
>FVWM Experts,
>
>Does anyone know the answer to this question?
>Why does an empty line on the AddToFunc line cause a large delay?
>If I had a preprocessor creating these files, and selecting from a
>predefined set of commands to put in the function, I find it simpler,
>and IMHO elegant to define the function that will be modified without
>tacking the definition onto the same line.
>
>For menus at least a title definition makes sense on the first line.

Mark,

  Do you mean to say that this delay was not present in 2.0.x? I thought I had
  to deal with that ever since the 2.0.x. Anyway, I tried to look through the
  source, but it seems to me the code covers the case where there is nothing on
  the AddToFunc line, and is not doing any excessive searching. So, in the end,
  I came out no wiser than before.

  As a workaround, can't you tell your preprocessor to put a '\' at the end of
  the AddToFunc line, and remove the + from the next.

  This should probably be considered a bug.

  Ke Huang

>
>Mark

-- Ke Huang
------------------------------------------
e-mail: ke_huang_at_bigfoot.com (preferred)
         kh6_at_cec.wustl.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 Wed Jun 23 1999 - 12:31:42 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST