Mercurial > sdl-ios-xcode
comparison src/events/SDL_mouse.c @ 3778:a9370b995ded gsoc2008_manymouse
proximity events bug fix
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 11:49:28 +0000 |
parents | 54d08ecec1cb |
children |
comparison
equal
deleted
inserted
replaced
3777:54d08ecec1cb | 3778:a9370b995ded |
---|---|
347 SDL_Event event; | 347 SDL_Event event; |
348 event.proximity.which=(Uint8)index; | 348 event.proximity.which=(Uint8)index; |
349 event.proximity.x=x; | 349 event.proximity.x=x; |
350 event.proximity.y=y; | 350 event.proximity.y=y; |
351 event.proximity.cursor=mouse->current_end; | 351 event.proximity.cursor=mouse->current_end; |
352 event.type=type; | |
353 event.proximity.type=type; | 352 event.proximity.type=type; |
354 posted = (SDL_PushEvent(&event) > 0); | 353 posted = (SDL_PushEvent(&event) > 0); |
355 if(type==SDL_PROXIMITYIN) | 354 if(type==SDL_PROXIMITYIN) |
356 { | 355 { |
357 mouse->proximity=SDL_TRUE; | 356 mouse->proximity=SDL_TRUE; |