Home | History | Annotate | Download | only in cybergfx

Lines Matching refs:xevent

61 	deltax = xevent->xmotion.x - mouse_last.x;
62 deltay = xevent->xmotion.y - mouse_last.y;
66 mouse_last.x = xevent->xmotion.x;
67 mouse_last.y = xevent->xmotion.y;
70 if ( (xevent->xmotion.x < MOUSE_FUDGE_FACTOR) ||
71 (xevent->xmotion.x > (w-MOUSE_FUDGE_FACTOR)) ||
72 (xevent->xmotion.y < MOUSE_FUDGE_FACTOR) ||
73 (xevent->xmotion.y > (h-MOUSE_FUDGE_FACTOR)) ) {
75 while ( XCheckTypedEvent(SDL_Display, MotionNotify, xevent) ) {
76 deltax = xevent->xmotion.x - mouse_last.x;
77 deltay = xevent->xmotion.y - mouse_last.y;
81 mouse_last.x = xevent->xmotion.x;
82 mouse_last.y = xevent->xmotion.y;
90 XMaskEvent(SDL_Display, PointerMotionMask, xevent);
91 if ( (xevent->xmotion.x >
93 (xevent->xmotion.x <
95 (xevent->xmotion.y >
97 (xevent->xmotion.y <
102 printf("Lost mouse motion: %d,%d\n", xevent->xmotion.x, xevent->xmotion.y);
208 /* if ( ! X11_KeyRepeat(SDL_Display, &xevent) ) */
246 if ( SDL_VideoSurface && (xevent.xexpose.count == 0) ) {
274 wmmsg.event.xevent = xevent;