comparison src/events/SDL_mouse.c @ 3188:102b7880543a

Whoops, didn't mean to commit unfinished patch
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 Jun 2009 13:46:54 +0000
parents 51750b7a966f
children 91b335df6fc8
comparison
equal deleted inserted replaced
3187:e041d2c603fe 3188:102b7880543a
367 event.proximity.which = (Uint8) index; 367 event.proximity.which = (Uint8) index;
368 event.proximity.x = x; 368 event.proximity.x = x;
369 event.proximity.y = y; 369 event.proximity.y = y;
370 event.proximity.cursor = mouse->current_end; 370 event.proximity.cursor = mouse->current_end;
371 event.proximity.type = type; 371 event.proximity.type = type;
372 event.proximity.windowID = mouse->focus;
373 posted = (SDL_PushEvent(&event) > 0); 372 posted = (SDL_PushEvent(&event) > 0);
374 if (type == SDL_PROXIMITYIN) { 373 if (type == SDL_PROXIMITYIN) {
375 mouse->proximity = SDL_TRUE; 374 mouse->proximity = SDL_TRUE;
376 } else { 375 } else {
377 mouse->proximity = SDL_FALSE; 376 mouse->proximity = SDL_FALSE;