[PATCH xserver] Cleanup some comments in SpriteRec

Fernando Carrijo fcarrijo at yahoo.com.br
Wed Mar 24 16:11:34 PDT 2010


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




More information about the xorg-devel mailing list