[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 01440] Re: Two patches



Hi, Thanks for the great patches!
I will merge them after some checks.

Thanks,
--
Yoshifumi Nishida
nishida@csl.sony.co.jp

From: Seb Wills <saw27@mrao.cam.ac.uk>
Subject: [mgp-users 01438] Two patches
Date: Fri, 19 Aug 2005 18:22:12 +0100 (BST)
Message-ID: <>

 > 
 > Hi,
 > 
 > Attached are two patches to magicpoint.
 > 
 > 1. mgp_avoid_movie_loops.patch
 > 
 > This inhibits %system commands when a page is being repainted (rather than 
 > painted for the first time). I did this avoid the following problem I was 
 > encountering: I launch a movie with a system command. When the movie 
 > finishes, the movie player window closes. This exposes part of the mgp 
 > window behind it, generating an exposure event and causing mgp to redraw 
 > the slide, thus re-invoking the system command. With this patch applied, 
 > the movie plays once and doesn't re-launch continuously. (If you want to 
 > re-launch the movie, you just move one page back and then forward again, 
 > or somesuch thing).
 > 
 > 
 > 2. mgp_multiple_moves_forward.patch
 > 
 > The feature reported in the man page that allows you to enter, for 
 > example, "3f" to move forward 3 pages, wasn't working (even though the 
 > correponding command "3b" was working). This patch fixes the behaviour. 
 > With the patch applied, entering "3f" moves three actual pages forward 
 > (ignoring any pause commands). Note that this means that "1f" is not 
 > equivalent to "f", since "1f" will advance straight to the next page, 
 > whereas if you are at a %pause command in the middle of a page, "f" will 
 > continue past the pause on the same page. This seems a reasonable 
 > behaviour to me.
 > 
 > 
 > Regards,
 > 
 > Seb
 > 
 >