[PATCH xserver] Cleanup some comments in SpriteRec

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 24 16:34:01 PDT 2010


On Wed, Mar 24, 2010 at 08:11:34PM -0300, Fernando Carrijo wrote:
> Signed-off-by: Fernando Carrijo <fcarrijo at yahoo.com.br>
> ---
>  include/inputstr.h |   12 ++++++++++--
>  1 files changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/include/inputstr.h b/include/inputstr.h
> index 15184d0..2acd704 100644
> --- a/include/inputstr.h
> +++ b/include/inputstr.h
> @@ -386,8 +386,16 @@ typedef struct {
>      int spriteTraceSize;
>      int spriteTraceGood;
>  
> -    ScreenPtr pEnqueueScreen; /* screen events are being delivered to */
> -    ScreenPtr pDequeueScreen; /* screen events are being dispatched to */
> +    /* Due to delays incurred by event processing, it is possible that the
> +     * pointer has crossed screen boundaries between the period of time in
> +     * which it begins generating events and the instant in which those
> +     * events get delivered to clients.
> +     *
> +     * pEnqueueScreen: screen the pointer was on when the event was generated
> +     * pDequeueScreen: screen the pointer was on when the event was delivered
> +     */
> +    ScreenPtr pEnqueueScreen;
> +    ScreenPtr pDequeueScreen;
>  
>  } SpriteRec, *SpritePtr;
>  
> -- 
> 1.6.3.3

As discussed on IRC, I've reworded it a bit and merged it in. Thanks for
the patch.

Cheers,
  Peter


More information about the xorg-devel mailing list