equal
deleted
inserted
replaced
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; |