diff src/video/x11/SDL_x11video.h @ 4264:d6f4cc9a5bf6 SDL-1.2

Batch x11 dga mouse motion events into a single SDL event. Untested attempt to fix Bugzilla #609. Do not merge into 1.3 in any case.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 29 Sep 2009 11:28:43 +0000
parents a1b03ba2fcd0
children 60db3d01cb3a
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.h	Tue Sep 29 06:31:29 2009 +0000
+++ b/src/video/x11/SDL_x11video.h	Tue Sep 29 11:28:43 2009 +0000
@@ -70,6 +70,8 @@
 
     /* Direct Graphics Access extension information */
     int using_dga;
+    Sint16 dga_x;
+    Sint16 dga_y;
 
 #ifndef NO_SHARED_MEMORY
     /* MIT shared memory extension information */
@@ -172,6 +174,8 @@
 #define SDL_IC			(this->hidden->X11_IC)
 #define SDL_windowid		(this->hidden->SDL_windowid)
 #define using_dga		(this->hidden->using_dga)
+#define dga_x			(this->hidden->dga_x)
+#define dga_y			(this->hidden->dga_y)
 #define use_mitshm		(this->hidden->use_mitshm)
 #define shminfo			(this->hidden->shminfo)
 #define SDL_Ximage		(this->hidden->Ximage)