Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11events.c @ 4640:f068a6dfc858
Added SDL_touch.c/SDL_touch_c.h as slightly modifeind SDL_mouse*. Made reads in touchSimp non-blocking.
author | Jim Grandpre <jim.tla@gmail.com> |
---|---|
date | Tue, 25 May 2010 23:23:23 -0400 |
parents | faa9fc8e7f67 |
children | 057e8762d2a1 |
comparison
equal
deleted
inserted
replaced
4639:f5cd4b6231ba | 4640:f068a6dfc858 |
---|---|
406 | 406 |
407 /* Keep processing pending events */ | 407 /* Keep processing pending events */ |
408 while (X11_Pending(data->display)) { | 408 while (X11_Pending(data->display)) { |
409 X11_DispatchEvent(_this); | 409 X11_DispatchEvent(_this); |
410 } | 410 } |
411 | |
412 | |
413 /* Process Touch events - TODO When X gets touch support, REMOVE THIS*/ | |
414 | |
411 } | 415 } |
412 | 416 |
413 /* This is so wrong it hurts */ | 417 /* This is so wrong it hurts */ |
414 #define GNOME_SCREENSAVER_HACK | 418 #define GNOME_SCREENSAVER_HACK |
415 #ifdef GNOME_SCREENSAVER_HACK | 419 #ifdef GNOME_SCREENSAVER_HACK |