diff options
author | Fernando Carrijo <fcarrijo@yahoo.com.br> | 2010-03-24 20:11:34 -0300 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-03-26 15:30:57 +1000 |
commit | d00c3298a698ddddc8967215cef7dd941fa15804 (patch) | |
tree | e57583c1b5fbfaadabdbda677f5b70883fda5897 | |
parent | 70bd02f2ea3a91c0340df97ca3b8a4f9400f6f46 (diff) |
Cleanup some comments in SpriteRec
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | include/inputstr.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/inputstr.h b/include/inputstr.h index 15184d071..de4026cb7 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 between event generation and event processing, it is + * possible that the pointer has crossed screen boundaries between the + * time in which it begins generating events and the time when + * those events are processed. + * + * pEnqueueScreen: screen the pointer was on when the event was generated + * pDequeueScreen: screen the pointer was on when the event is processed + */ + ScreenPtr pEnqueueScreen; + ScreenPtr pDequeueScreen; } SpriteRec, *SpritePtr; |